I am having an issue with printer selection.
On Mac OS X, the default printer (in 4d only?) for the first print 
dialog (Page Setup) is "Any Printer" 

I have found that the margins(?) or Page Size(?), are different than 
the Xerox printers that are used here, and probably different than any 
actual printer. This affects printing, usually by causing an extra 
blank page to be printed.  In some instances the blank page is first, 
and others it is after. Either way, when working with printing 
precisely aligned forms (customized label forms) this causes a problem.

The users know, or at least should know by now, to select a specific 
printer in the page setup dialog; however, often they don't, and this 
screws up label printing.

I have tried to address the issue by using 
SET CURRENT PRINTER to insure that the correct printer is actually 
selected.
BUT, I am not getting anywhere.

I use the following code:
PRINTERS LIST($Printers;$Locations;$Models)
$Current_Printer:=Get current printer
$Loc:=Find in array($Printers;$Current_Printer)

If ($Loc>0)
SET CURRENT PRINTER($Printers{$Loc})
Else 
<look for specific printers & use one of them>
End if 

On my computer there *is* a default printer selected at the OS level.
Stepping through the above code, shows that it is recognized as the 
current printer ($Current_Printer).
Additionally, even after re-setting the current printer as the current 
printer, the Page setup dialog still maintains the default 'any 
printer'. THe code set, or default printer DOES show correctly i the 
second dialog (print job) dialog.

Within any single process, this happens for the first time printing. 
HOWEVER, if I print (including preview) and then print again (in the 
same process) the Page setup Dialog DOES finally have the correct 
printer selected.

If I start a new process in which I am printing, the above scenario 
repeats itself. i.e. the first time through the dialogs the selected 
printer for Page setup is 'any printer'.

I have tried (and none have worked):
- Set printer - and suppressing the page setup dialog
- set printer to a different printer from the current printer, then 
changing it back with and without suppressing the page setup dialog
i.e. set printer to B from A, then set it back to A 
- setting the current printer to the default printer
- setting printer to a different printer


any help??

---------------
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to