Hello All, I'm trying to get the iSeries Access for Linux client (IBM 5250 emulator) working on a CentOS 4.4 system. The client is mostly working - it connects to the remote AS/400, the custom keymap I created is recognized, etc. The only problem is printing to a local printer. The docs for the client state that it reads the default printer environment variable to figure out which printer to print to on the local side. What's the default printer environment variable? $PRINTER? I'm lost on this one since I've never had to set it before. I know that I can create a ~/.lpoptions file and put the default printer in there, but that's not going to work with this IBM 5250 emulator. Any tips/help appreciated. Regards, Ranbir -- Kanwar Ranbir Sandhu Linux 2.6.20-1.2944.fc6 i686 GNU/Linux 16:22:02 up 2 days, 21:14, 3 users, load average: 0.19, 0.22, 0.18
On Thu, 2007-04-26 at 16:27 -0400, Kanwar Ranbir Sandhu wrote:> The docs for the client state that it reads the default printer > environment variable to figure out which printer to print to on the > local side. What's the default printer environment variable? $PRINTER? > I'm lost on this one since I've never had to set it before. > > I know that I can create a ~/.lpoptions file and put the default printer > in there, but that's not going to work with this IBM 5250 emulator.Does anyone know what the "default printer environment variable" is on Red Hat based systems? Is there such a thing? Regards, Ranbir -- Kanwar Ranbir Sandhu Linux 2.6.20-1.2944.fc6 i686 GNU/Linux 21:50:35 up 3 days, 2:42, 3 users, load average: 1.73, 0.88, 0.42
Kanwar Ranbir Sandhu wrote:> Hello All, > > I'm trying to get the iSeries Access for Linux client (IBM 5250 > emulator) working on a CentOS 4.4 system. The client is mostly > working - it connects to the remote AS/400, the custom keymap I > created is recognized, etc. The only problem is printing to a local > printer. > > The docs for the client state that it reads the default printer > environment variable to figure out which printer to print to on the > local side. What's the default printer environment variable? > $PRINTER? I'm lost on this one since I've never had to set it before.Yes, it's PRINTER. Set it to the name of the printer you want to use. If your printer is named foo, then do export PRINTER=foo If all users will use the same printer, you can create shell scripts in /etc/profile.d to set this variable for all users at login time. -- Prentice The contents of this communication, including any attachments, may be confidential, privileged or otherwise protected from disclosure. They are intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please do not read, copy, use or disclose the contents of this communication. Please notify the sender immediately and delete the communication in its entirety.