Difference between revisions of "Printing w/o CUPS"

From Nekochan
Jump to: navigation, search
m
 
Line 1: Line 1:
1. You need proper cabling to your printer. O² and Octane have a MicroCentronics-interface for example.
+
1. You need a cable that fits both to your SGI-workstation and your printer. For example, O² and Octane have a "MicroCentronics"-interface.
  
 
2. Install Ghostscript.
 
2. Install Ghostscript.
  
2. Type into a console ''gs --help'' to get a list of supported printers - 'choose' your one in your mind for later use... (in this example it is "ljet4")
+
2. Type into a shell:
  
3. Toolchest->Find->Icon Catalog->Printing->Printers.
+
gs --help
  
4. Add... --put in here Printer name "New Printer Name", e.g.: '''laserjet_txt'''; Printer Type: choose "Generic Printer" (Text Only): attached to Parallel->built in --OK.
+
to get a list of supported printers. Write down a renderer that is suitable for your printer for later use. In this example ''ljet4'' is used.
This creates a driver, which prints text-only out of apps.
+
  
5. Add... --again "New Printer Name", here e.g.: '''laserjet_ps'''; choose Printer Type: "Generic Printer" (Text Only): attached to Parallel->built in --OK.  
+
3. ''Toolchest'' -> ''Find'' -> ''Icon Catalog'' -> ''Printing'' -> ''Printers''.
 +
 
 +
4. ''Add...'' --put in here printer name "New Printer Name", e.g. '''laserjet_txt'''; ''Printer Type'': choose "Generic Printer" (Text Only): ''attached to Parallel'' -> ''built in'' --OK.
 +
This creates a driver, which prints text-only out of applications.
 +
 
 +
5. ''Add...'' --again "New Printer Name", here e.g. '''laserjet_ps'''; ''Printer Type'': chose "Generic Printer" (Text Only): ''attached to Parallel'' -> ''built in'' --OK.  
 
The "laserjet_ps" should be configured as default printer. This one is to be changed later on.
 
The "laserjet_ps" should be configured as default printer. This one is to be changed later on.
  
6. change to Dir "/var/spool/lp".
+
6. Change to the directory:
 +
 
 +
/var/spool/lp
 +
 
 
In the folder "Interface" open the file "laserjet_ps" and erase all characters. Then insert and save the following line:
 
In the folder "Interface" open the file "laserjet_ps" and erase all characters. Then insert and save the following line:
  
----
+
/usr/freeware/bin/gs -dBATCH -dNOPAUSE -q '-sOutputFile='"/dev/plp" -sDEVICE=ljet4 -r600 "$6"
  
/usr/freeware/bin/gs -dBATCH -dNOPAUSE -q '-sOutputFile='"/dev/plp" -sDEVICE=ljet4 -r600 "$6"
+
or the corresponding path to nekoware-ghostscript.
  
----
+
7. In the directory
  
or the corresponding path to nekoware-ghostscript
+
/var/spool/lp/member
  
7. In Directory "/var/spool/lp/member" change the content of the file "laserjet_ps" from "/dev/plp" to "/dev/null"
+
change the content of the file "laserjet_ps" from "/dev/plp" to "/dev/null"
  
Now you've got your printer fully integrated into IRIX and accessible via lp.
+
Now you have got your printer fully integrated into IRIX and accessible via lp.
  
 
[[Category:HowTo]]
 
[[Category:HowTo]]

Latest revision as of 14:17, 8 July 2007

1. You need a cable that fits both to your SGI-workstation and your printer. For example, O² and Octane have a "MicroCentronics"-interface.

2. Install Ghostscript.

2. Type into a shell:

gs --help

to get a list of supported printers. Write down a renderer that is suitable for your printer for later use. In this example ljet4 is used.

3. Toolchest -> Find -> Icon Catalog -> Printing -> Printers.

4. Add... --put in here printer name "New Printer Name", e.g. laserjet_txt; Printer Type: choose "Generic Printer" (Text Only): attached to Parallel -> built in --OK. This creates a driver, which prints text-only out of applications.

5. Add... --again "New Printer Name", here e.g. laserjet_ps; Printer Type: chose "Generic Printer" (Text Only): attached to Parallel -> built in --OK. The "laserjet_ps" should be configured as default printer. This one is to be changed later on.

6. Change to the directory:

/var/spool/lp

In the folder "Interface" open the file "laserjet_ps" and erase all characters. Then insert and save the following line:

/usr/freeware/bin/gs -dBATCH -dNOPAUSE -q '-sOutputFile='"/dev/plp" -sDEVICE=ljet4 -r600 "$6" 

or the corresponding path to nekoware-ghostscript.

7. In the directory

/var/spool/lp/member

change the content of the file "laserjet_ps" from "/dev/plp" to "/dev/null"

Now you have got your printer fully integrated into IRIX and accessible via lp.