Welcome, Guest. Please login or register.

Author Topic: How do I set up an Amiga to print to a TCP/IP network printer?  (Read 3376 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline SasquatchTopic starter

  • Newbie
  • *
  • Join Date: Feb 2008
  • Posts: 2
    • Show all replies
    • http://www.m2group.com
How do I set up an Amiga to print to a TCP/IP network printer?
« on: February 16, 2008, 02:29:48 AM »
I have a GVP PhonePak equipped A3000T residing on my office LAN along with Macs, FreeBSD and Windoze boxes.  It's primary use is the company voicemail system but I'm still doing all the accounting and billing from it.
What would really be nice is to be able to print to the printers on the print server without having to run a parallel port cable from the Amiga to the printer.
Is there a way to mount a device to print files to a LAN print server?
I have already hacked my apps so that the default print device is PR1:  That way I can assign PR1: to PRT:, PAR:, SER: etc.  I would like to map it to a device on an TCP/IP host.
I'm running AmiTCP 4.2 with OS3.1, kickstart 40.62 and except for the printer, I am fully integrated with the rest of the computers on the LAN.

John :-D
 

Offline SasquatchTopic starter

  • Newbie
  • *
  • Join Date: Feb 2008
  • Posts: 2
    • Show all replies
    • http://www.m2group.com
Re: How do I set up an Amiga to print to a TCP/IP network printer?
« Reply #1 on: February 19, 2008, 10:32:59 PM »
I found the lpr.device on web and installed it.  It works GREAT!
I have three different printers hooked up to a D-Link print server.
I created a separate directory on the ENVARC: one for each printer. ie: "ENVARC:Printers/LaserJet/" and put the "lpr.device" config file for each printer in it's own directory.  The example below redirects all output for the PAR: device to port 2 (LaserJet) of the network print server.

HOST=192.168.0.10 DIR=DH3: QUEUE=PS-4AEF70-P2

To address all three, I created three different script files to make it easy to select/change printer and saved them in the S: directory.

Below is the script to select the HP LaserJet printer on print server port 2.  This script is in the S: directory and is named "LJ"
When "LJ" is executed from CLI or Toolmanager, it speaks the name of the printer, Runs the printer prefs using the files for the appropriate printer and copies the appropriate "lpr.device" config file to ENV: to redirect output to the correct port.

SAY "Layzer Jet"
SYS:Prefs/Printer FROM SYS:Prefs/presets/LaserJet.prefs USE
SYS:Prefs/PrinterGfx FROM SYS:Prefs/presets/LaserJetgfx.prefs USE
Copy >NIL: ENVARC:Printers/LaserJet/lpr.device RAM:ENV ALL NOREQ