Sponsored Content
Operating Systems Linux know I do for to printer in printer deskjet 80colun Post 53330 by zazzybob on Tuesday 13th of July 2004 04:20:27 AM
Old 07-13-2004
I want to print some thing in HP Deskjet 692.?
Good for you! Smilie

Seriously, we need a bit more information as to what you're trying to achieve. - i.e. what Linux distro you're using, whether or not the printer is already set up (i.e. you can print to it with echo "blah" | lpr or lpr somefile), etc.

If you're trying to format your file so that the output is 80 columns wide look into the fmt command (fmt -w 80 somefile.txt | lpr), etc.....

Of course, without more info, this is idle speculation....


7 More Discussions You Might Find Interesting

1. Cybersecurity


On my network I have three win 2k and 4 unix machines(sun 7). At on time I could print from the unix machines but now all I can print from is the windows machines. The print server is on a window machine. When I boot the unix machine it show's the printer is recognized. when I ping the printer it... (1 Reply)
Discussion started by: victbla
1 Replies

2. UNIX for Advanced & Expert Users


we have a Digital unix acting as a print server which has been working fine until last week no print items are printing from it, 30 print jobs are queue up but not printing. How do I go about troubleshoting the problem. I have no knowledge of Digital unix I am a sun person Can you help? ... (2 Replies)
Discussion started by: hassan2
2 Replies

3. IP Networking

How do you send printer codes to an IP printer

We were printing to a serial laser printer with all the HP codes to generate a form (i.e. lines, boxes, etc.) Thus the file is filled w/ control codes. We are switching to an IP printer and we can no longer print directly to the device (i.e. cp text /dev/tty11). It looks like we have to use the lp... (2 Replies)
Discussion started by: jeffbugfree
2 Replies

4. UNIX for Dummies Questions & Answers

Local Printer Setup - HP DeskJet 610CL

Hello. I am really new to Unix and am trying to set up a local printer on a FreeBSD 6.2 machine. I was able to get some kind of garbage by going lptest > /dev/lpt0, but after I set up the spooler I get nothing but page after page of nothing. I checked the kernel configuration and it had the correct... (1 Reply)
Discussion started by: elliott_1951
1 Replies

5. Solaris

Configuring Printer with Printer Manager

Hi All, I am trying to configure printer in solaris 10 with the help of print manager. There is no printer attached to my system, ia m doing it for test purpose. However I am unable to do so coz its pops up window - Heading as error with option as dismiss and cancel. Kindly help as I am... (3 Replies)
Discussion started by: kumarmani
3 Replies

6. AIX

Check printer queue on Windows printer server

Hello Let me first give a small overview of the setup. All printers are connected to Windows 2000 servers. There are a lot of UNIX (AIX & HP-UX) servers as well which have SAP running. I'm working on a script to add printers to a specified SAP instance. I want to verify the user input (to... (0 Replies)
Discussion started by: NielsV
0 Replies

7. Linux

Find printer location and printer type

Hi, Is it possible to find the printer location and printer type (whether it is local or network) using command in Linux ? Thanks in advance. (1 Reply)
Discussion started by: forumguest
1 Replies
lpr(1)                                                              Apple Inc.                                                              lpr(1)

lpr - print files SYNOPSIS
lpr [ -E ] [ -H server[:port] ] [ -U username ] [ -P destination[/instance] ] [ -# num-copies [ -h ] [ -l ] [ -m ] [ -o option[=value] ] [ -p] [ -q ] [ -r ] [ -C/J/T title ] [ file(s) ] DESCRIPTION
lpr submits files for printing. Files named on the command line are sent to the named printer (or the default destination if no destination is specified). If no files are listed on the command-line, lpr reads the print file from the standard input. THE DEFAULT DESTINATION
CUPS provides many ways to set the default destination. The "LPDEST" and "PRINTER" environment variables are consulted first. If neither are set, the current default set using the lpoptions(1) command is used, followed by the default set using the lpadmin(8) command. OPTIONS
The following options are recognized by lpr: -E Forces encryption when connecting to the server. -H server[:port] Specifies an alternate server. -C "name" -J "name" -T "name" Sets the job name. -P destination[/instance] Prints files to the named printer. -U username Specifies an alternate username. -# copies Sets the number of copies to print from 1 to 100. -h Disables banner printing. This option is equivalent to "-o job-sheets=none". -l Specifies that the print file is already formatted for the destination and should be sent without filtering. This option is equivalent to "-o raw". -m Send an email on job completion. -o option[=value] Sets a job option. -p Specifies that the print file should be formatted with a shaded header with the date, time, job name, and page number. This option is equivalent to "-o prettyprint" and is only useful when printing text files. -q Hold job for printing. -r Specifies that the named print files should be deleted after printing them. COMPATIBILITY
The "c", "d", "f", "g", "i", "n", "t", "v", and "w" options are not supported by CUPS and produce a warning message if used. SEE ALSO
cancel(1), lp(1), lpadmin(8), lpoptions(1), lpq(1), lprm(1), lpstat(1), http://localhost:631/help COPYRIGHT
Copyright 2007-2011 by Apple Inc. 29 August 2008 CUPS lpr(1)

Featured Tech Videos

All times are GMT -4. The time now is 04:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy