RE: Printing to local printer
Look into pipes and smbprint (comes with samba). Sorry I can't be more specific than that, but I believe you can tie a program to a pipe (opening the pipe will invoke the program), and I've used smbprint (from within WP/SCO) to print from nix to a print queue on a windows server. That didn't have a print queue on the nix server, but don't forget WP had all its printer capability, drivers, the works, all built in. Cheers, Wol -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dana Baron Sent: 04 March 2004 18:54 To: U2 Users Discussion List Subject: RE: Printing to local printer Wol, Thanks for the idea. Looks promising but we're on a Unix server. Is there a way to refer to the local printers across operating systems? My SETPTR documentation refers to mode 2 and the DEVICE setting as sending output to the Unix special file. Can the shared printer be defined as a unix special file without setting up a network print queue? Dana Baron System Manager Smugglers' Notch Resort -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Anthony Youngman Sent: Thursday, March 04, 2004 7:02 AM To: U2 Users Discussion List Subject: RE: Printing to local printer What I'd do ... This is UV, but I got the impression that UD might well work the same way ... A lot of our printers, rather than saying AT DEVICE in the SETPTR statement, say AT \\windows\sharename. So each printer is set up on the local pc to which it is attached, and the UV server knows nothing about it at the Windows level (we have UV/NT). Cheers, Wol -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dana Baron Sent: 26 February 2004 19:07 To: [EMAIL PROTECTED] Subject: Printing to local printer Hi, We use Unidata (v5.2) on a DEC/Compaq/HP Alpha under Tru64 Unix (v5.0a). Most of our users connect to our Unidata system via terminal emulation software (SmartTerm) from Windows-based PCs. Some of those users function as point-of-sale terminals. We're now trying to integrate credit card validation via the internet directly from those work stations. We're still in test mode, but most of this seems to working OK. One remaining issue is printing the CC receipt. We would like the receipts to print on CC receipt printers attached to the workstation as either parallel or serial printers. We'd rather not set up print queues for all of these. Any ideas on how to accomplish this? Dana Baron System Manager Smugglers' Notch Resort -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users *** This transmission is intended for the named recipient only. It may contain private and confidential information. If this has come to you in error you must not act on anything disclosed in it, nor must you copy it, modify it, disseminate it in any way, or show it to anyone. Please e-mail the sender to inform us of the transmission error or telephone ECA International immediately and delete the e-mail from your information system. Telephone numbers for ECA International offices are: Sydney +61 (0)2 9911 7799, Hong Kong + 852 2121 2388, London +44 (0)20 7351 5000 and New York +1 212 582 2333. *** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: Printing to local printer
In a message dated 2/26/2004 12:07:35 PM Pacific Standard Time, [EMAIL PROTECTED] writes: We use AUX ON / AUX OFF for local printers already. The problem is, we want to be able to specify which local printer to use as the AUX. So, when the user is printing a CC receipt, it would print to the printer attached to the PC that is defined as the CC receipt printer. But, when the user is trying to print a report, it would print to the local laser printer (which could also be a networked printer). One way to do this is to have the user switch the local printer within SmartTerm, but we wanted to try to handle this in the software, if possible, because...well, you know how users are. Dana I'm a little confused. You are using local printers using Aux on/Aux off. This means that the printer must be directly connected to the terminal/PC right? So I thought it sounded like you wanted to have two printers directly attached to one terminal/PC. If this is *not* what you want to do, then why not just network all your printers? If it *is* what you want, you also have the option of using two serial ports off your terminal/PC. Some terminals have two serial and one parallel port as well. And for PCs you can always add another serial or parallel card to add another port. So can you tell us how many CC printers you have, and can each device that needs to print to one have its own? Or do you have something like 100 terminals wanted to print and only 12 CC printers? Thanks Will Johnson -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: Printing to local printer
Dana, You can use @(-24) to turn on aux printing and @(-25) to turn it off. Tim Snyder IBM Data Management Solutions Consulting I/T Specialist , U2 Professional Services [EMAIL PROTECTED] Dana Baron wrote on 02/26/2004 02:07:20 PM: We would like the receipts to print on CC receipt printers attached to the workstation as either parallel or serial printers. -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Printing to local printer
Dana, It depends on whether your workstations are networked or not and on how many serial printers you have .. If the workstations are networked AND the printers are paralell, I'd reccomend JetDirect boxes - you can set them up as printers available to the local machine, and then as queues on your UNIX machine .. If the printers are serial, you can do something similar with SAMBA .. If the workstations are attached through a serial connection, I'd use AUX printing like Dianne and Timothy suggested .. -Chuck -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dana Baron Sent: Thursday, February 26, 2004 2:07 PM To: [EMAIL PROTECTED] Subject: Printing to local printer Hi, We use Unidata (v5.2) on a DEC/Compaq/HP Alpha under Tru64 Unix (v5.0a). Most of our users connect to our Unidata system via terminal emulation software (SmartTerm) from Windows-based PCs. Some of those users function as point-of-sale terminals. We're now trying to integrate credit card validation via the internet directly from those work stations. We're still in test mode, but most of this seems to working OK. One remaining issue is printing the CC receipt. We would like the receipts to print on CC receipt printers attached to the workstation as either parallel or serial printers. We'd rather not set up print queues for all of these. Any ideas on how to accomplish this? Dana Baron System Manager Smugglers' Notch Resort -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Printing to local printer
You can use a porter switch that can be controlled by software. I have a site with 4 printers with different forms in each hooked to one parallel port. The first characters in the print jobs are the printer and character size we want to print at. Kevin Jones (315) 445-4270 [EMAIL PROTECTED] 2/26/04 3:03:02 PM Tim and Diane, Thanks for the quick replies! I guess I need to be a little more specific. We really want to have our cake and eat it to. We use AUX ON / AUX OFF for local printers already. The problem is, we want to be able to specify which local printer to use as the AUX. So, when the user is printing a CC receipt, it would print to the printer attached to the PC that is defined as the CC receipt printer. But, when the user is trying to print a report, it would print to the local laser printer (which could also be a networked printer). One way to do this is to have the user switch the local printer within SmartTerm, but we wanted to try to handle this in the software, if possible, because...well, you know how users are. Thanks Dana Baron System Manager Smugglers' Notch Resort -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Timothy Snyder Sent: Thursday, February 26, 2004 2:51 PM To: U2 Users Discussion List Subject: Re: Printing to local printer Dana, You can use @(-24) to turn on aux printing and @(-25) to turn it off. Tim Snyder IBM Data Management Solutions Consulting I/T Specialist , U2 Professional Services [EMAIL PROTECTED] Dana Baron wrote on 02/26/2004 02:07:20 PM: We would like the receipts to print on CC receipt printers attached to the workstation as either parallel or serial printers. -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Printing to local printer
Tim and Diane, Thanks for the quick replies! I guess I need to be a little more specific. We really want to have our cake and eat it to. We use AUX ON / AUX OFF for local printers already. The problem is, we want to be able to specify which local printer to use as the AUX. So, when the user is printing a CC receipt, it would print to the printer attached to the PC that is defined as the CC receipt printer. But, when the user is trying to print a report, it would print to the local laser printer (which could also be a networked printer). One way to do this is to have the user switch the local printer within SmartTerm, but we wanted to try to handle this in the software, if possible, because...well, you know how users are. Thanks Dana Baron System Manager Smugglers' Notch Resort -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Timothy Snyder Sent: Thursday, February 26, 2004 2:51 PM To: U2 Users Discussion List Subject: Re: Printing to local printer Dana, You can use @(-24) to turn on aux printing and @(-25) to turn it off. Tim Snyder IBM Data Management Solutions Consulting I/T Specialist , U2 Professional Services [EMAIL PROTECTED] Dana Baron wrote on 02/26/2004 02:07:20 PM: We would like the receipts to print on CC receipt printers attached to the workstation as either parallel or serial printers. -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users