That's what I do, exactly as Razzak suggests.

When you get it to work "manually", then do a PRNSETUP INFO
and you'll get a list of exactly how to reference the name, the tray, etc.
Just copy and paste the info into your command!

Karen

 

 

 

-----Original Message-----
From: A. Razzak Memon <[email protected]>
To: rbase-l <[email protected]>
Sent: Thu, Jun 9, 2016 1:58 am
Subject: Re: [RBASE-L] - problem with printers in Windows 10

At 11:49 PM 6/8/2016, Michael J. Sinclair wrote:

>Hi all,
>
>This code seems to work fine on Windows 7 machines...
>
>LBLPRINT scripts4x4 WHERE patnumbr = .vpnum AND refflag ='L' AND +
>PRINTER = 1 +
>OPTION PRINTER +
>|SHOW_CANCEL_DIALOG OFF +
>|PRINTER_NAME \\zeus\pos4printa
>
>When I upgraded to Windows 10, it still worked.
>
>BUT, when I tried to change the printer name, it fails. The code
>seems to run, but I don't get anything on the printer.
>
>Is there some magic setting in Windows 10 that I can change regarding
>printers?  Is my syntax wrong?


For testing purpose, try the manual method and see what you get ...

-- Select the appropriate printer first
PRNSETUP
-- Now print label
LBLPRINT scripts4x4 WHERE patnumbr = .vpnum AND refflag ='L' AND +
PRINTER = 1 OPTION PRINTER |SHOW_CANCEL_DIALOG OFF
RETURN

Hope that provides you with some blue's clues ...

Very Best R:egards,

Razzak



-- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to