Jun 6, 2002 #1 lencarne Programmer Feb 1, 2003 11 GB This works printerSetCurrent("Panasonic KX-P1150,Panasonic KX-P1150,LPT1:" This doesn't printerSetCurrent(printvar) If the enduser wants to change printers we need the latter option. Any work around folks?? Greetings from England Len Carne
This works printerSetCurrent("Panasonic KX-P1150,Panasonic KX-P1150,LPT1:" This doesn't printerSetCurrent(printvar) If the enduser wants to change printers we need the latter option. Any work around folks?? Greetings from England Len Carne
Jun 6, 2002 #2 Langley Programmer Jan 23, 2002 592 US What did you set 'printvar' to? Is it a string variable? Did you include the port assignment in the variable string? Mac "Do not delve too deeply in the arts of your enemy and so become ensnared by them" langley_mckelvy@cd4.co.harris.tx.us Upvote 0 Downvote
What did you set 'printvar' to? Is it a string variable? Did you include the port assignment in the variable string? Mac "Do not delve too deeply in the arts of your enemy and so become ensnared by them" langley_mckelvy@cd4.co.harris.tx.us
Jun 19, 2002 #3 Guest_imported New member Jan 1, 1970 0 Here is the code I use to let them choose a printer with a popup menu. var pmMenu PopupMenu arPrnNames, arPrinters array[] String endvar enumPrinters(arPrinters) pmMenu.addArray(arPrinters) str = pmMenu.show() if str <> "" then printerSetCurrent(str) endIf Hope this helps Jeremy Upvote 0 Downvote
Here is the code I use to let them choose a printer with a popup menu. var pmMenu PopupMenu arPrnNames, arPrinters array[] String endvar enumPrinters(arPrinters) pmMenu.addArray(arPrinters) str = pmMenu.show() if str <> "" then printerSetCurrent(str) endIf Hope this helps Jeremy