To All
When I create my reports, I always start my print with this code which always loads the printer pallet .. How can I create a report that creates the printer object, but does not show the printer pallet.
Here is my current code .. I pass "P" to print and "V" to the previewer
Rick Lipkin

When I create my reports, I always start my print with this code which always loads the printer pallet .. How can I create a report that creates the printer object, but does not show the printer pallet.
Here is my current code .. I pass "P" to print and "V" to the previewer
Rick Lipkin
PrnSetCopies(nCopies)
IF cVIEW = "V"
PRINTER oPRINT FROM USER ;
PREVIEW MODAL ;
NAME "Print Routine for INVOICE "+cRepairNumber
IF EMPTY( oPRINT:hDC )
MsgInfo ( "Report Cancelled" )
Return(.f.)
ENDIF
ELSE
// do not want the printer pallet here
PRINTER oPRINT from USER ;
NAME "Print Routine for INVOICE "+cRepairNumber
IF EMPTY( oPRINT:hDC )
MsgStop ( "Printer not Ready !" )
RETURN(.f.)
ENDIF
ENDIF