If you want the user to select a printer, why not just print with OPTION SCREEN and let the user select the printer the windows way?
Dennis McGrath Software Developer QMI Security Solutions 1661 Glenlake Ave Itasca IL 60143 630-980-8461 [email protected] -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Jim Belisle Sent: Tuesday, January 31, 2012 8:52 AM To: RBASE-L Mailing List Subject: [RBASE-L] - RE: Printers Javier, I tried creating a var but that did not work. If I wanted them to choose a printer I know I can use (CVAL('PRINTERS')) to bring up the printers available. How do I get their choice into a variable for the printer chosen? James Belisle Making Information Systems People Friendly Since 1990 -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Javier Valencia Sent: Tuesday, January 31, 2012 2:10 AM To: RBASE-L Mailing List Subject: [RBASE-L] - RE: Printers Jim, I believe the spaces in the printer name might be causing the problem. Have you tried placing quotes around the printer name or storing the printer name as a variable and using the variable instead of the printer name? Javier, Javier Valencia, PE O: 913-829-0888 H: 913-397-9605 C: 913-915-3137 -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Jim Belisle Sent: Monday, January 30, 2012 7:44 PM To: RBASE-L Mailing List Subject: [RBASE-L] - Printers Even though I put the below code to print my report, the report still goes to my default printer. Is there something else I need to do? PRINT packinglist WHERE control# = .vcnum + OPTION PRINTER + |TRAY 2 + |COLLATION OFF + |COPIES 1 + |PRINTER_NAME \\k-server\konica minolta c351 pcl James Belisle Making Information Systems People Friendly Since 1990

