Can't print to remote printer

I currently have a printer connected to my desktop as server. I use this with other computers on the local network with lprng on all. On the clients I have a simple printcap pointing to the printer on the desktop.
I'm currently running Arch on a laptop connected to the lan (and am much impressed apart from the printing question).
I tried to compile lprng from AUR but it failed. (Comments indicate problems with this.)
So I installed libcups as suggested by the Arch wiki and configured /etc/cups/client.conf to point to the desktop (arcadia). This should be enough to be able to print, if I've understood right. But nothing prints.
I wasn't clear how to print things with this arrangement since there is no lpr. I I tried  with a2ps on a file but nothing was printed.
Question 1: is it essential to have CUPS on the remote machine? I don't like CUPS, but if I must use it ...
Question 2: how are you supposed to print a plain file with this arrangment, since there is no lpr? I seem to be missing some piece of information here.

What language does the printer speak? You don't need cups installed.
If it's a postscript printer, save your document as a .ps file, which most linux editors and office suites will do, then cat it to the printer. You need ghostscript. You'll need to be root.
# cat /path/file.ps > /dev/usb/lp1
If it's a PCl printer then you'll need to convert the .ps to PCL first.
#! /bin/sh
# Takes a postscript filen and convert it to PCL
# Output is suitable for an hp laserjet printer that does NOT have
# the extra postscript option installed
# You MIGHT want to tweak this between "laserjet" or "ljet4" or whatever
# Specify Ghostscript device.
DEVICE=laserjet
# Ouput file name
OUTFILE=output.pcl
GS='gs -q -dSAFER -dNOPAUSE '
GS="$GS -sDEVICE=$DEVICE"
echo "Usage:"
echo " ps2pcl file.ps"
echo " ps2pcl file.ps -o output.pcl file.ps"
echo ""
echo "Will convert PS to PCL and dump to output.ps"
echo "or the specified output file"
echo ""
while getopts "o:h" flag ; do
case $flag in
o)
OUTFILE=$OPTARG
h|*)
usage
exit 1
esac
done
shift $(($OPTIND - 1))
INFILE="$1"
if [[ "$INFILE" == "" ]] ; then
INFILE=-
fi
$GS -sOutputFile=$OUTFILE $INFILE -c quit
If it's a win printer then throw it away. No, you'll need cups and support for the printer. Use your own device nodes. That device=laserjet just worked ok with a Brother printer. If you want to can add to that script and send the .pcl file to the printer after the conversion.

Similar Messages

  • Printing to Remote Printer in another state

    Not sure I am in the right section of this discussion board, but can I print to remote printer via the internet? Instead of faxing or emailing, can I send a document to a printer through the web but without additional software, will Leopard let me do it?

    Only if the remote printer is accessible over the Internet, and the remote site provides you with the information needed to access it. Otherwise, you'd be better off emailing the document to the remote site and let them print it directly.

  • Printing to Remote Printer

    Not sure I am in the right section of this discussion board, but can I print to remote printer via the internet? Instead of faxing or emailing, can I send a document to a printer through the web but without additional software, will Leopard let me do it?

    Try http://discussions.apple.com/forum.jspa?forumID=1224

  • What is the difference between local printing and remote printing in SAP

    Hello Nation,
    I would like to know what is the difference between local printing and remote printing in SAP and in what scenarios they are used ?
    1.What is local printing in SAP ?
    2.What is Remote Printing in SAP?
    3.what is the difference between local printing and remote printing in SAP ?
    Thank you in Advance.
    Regards,
    -Mohamed Naveen.

    Hi,
    This is SAP Business one system administration forum. Please find correct forum and repost your discussion to get quick response.
    Please close this thread here with helpful answer.
    Thanks & Regards,
    Nagarajan

  • CUPS: Printing to remote printer

    Hi,
    I need help with setting printer using CUPS.
    I have laser printer (that supports only PCL) connected to one of LAN computers.
    This computer has Fedora Core 5 Linux with CUPS.
    Linux and Windows computers are printing to that printer without any problems.
    I would like print to that printer from Solaris 10 computer that has CUPS.
    I have access to remote printer using:
    http://localhost:631/admin
    and can watch it's jobs and print test pages.
    I downloaded suitable PPD file for the printer and put it to:
    /opt/sfw/cups/share/cups/model
    and executed command:
    /opt/sfw/cups/sbin/lpadmin -p le232 -E -v ipp://10.0.0.201:631/printers/e232 -m Lexmark-Optra_E-hpijs.ppd
    Now I see this printer on:
    http://localhost:631/printers
    After I tryed to print a test page, printer status changed:
    Description: le232
    Location:
    Printer State: stopped, accepting jobs.
    "Print file was not accepted (client-error-bad-request)!"
    Device URI: http://10.0.0.201:631/printers/e232
    Whats wrong?
    What should I do to solve this problem?
    Thank you.

    I found solution on: www.lengers.com/?p=12
    That works.
    But now I have a new problem: instead page what I sent, it prints some junk text (it's probably PostScript).
    I added printer using lpadmin command and use it with lp command.
    maybe should I use lpr command?
    I user the same *ppd file as on Fedora Core 5 print server and there it prints correctly.
    Do I need some kind of convertor or filter (my printer understands only PCL)?
    Thank you.

  • How to eliminate Host Cover print while remote printing.

    Hi Experts,
    Whenever I use remote printing on one of my printer, An extra page with following details is coming out.
    1).user name
    2).SAP host name
    2).Jobname from OS
    How to eliminate this issue ?
    Awaiting for your responses
    Thanks &Regards
    Sandy

    Hi Riki,
    Thanks for your response !
    -->There is an option 'Selection cover sheet" that on the system is ticked by default, remove the tick on this option
    Yeah , I have already checked this option . It is set to NO , details are as follows
        SAP cover page :: Do not Print
        Host Cover page :: Do not print
        Selection cover sheet :: No
    My System details are as follows:
    SAP :  ECC 6.0  , Kernel release 701 ,patch level 69
    OS :    Sun Solaris 10
    Database : ORACLE 10.2.0.4
    Regards
    Sandy

  • Printing to Remote Printer via Internet

    I travel a lot and would like to print to my office while on the road. I know I can email, but I also would like to have this capability if it's possible. Is there a way to set up the two computers to achieve this? If so how would I do it? Any help would be appreciated.

    (Need more details to give better instructions. what printer - is it connected to a computer?)
    You will have to enable port forwarding through the office router's firewall. This involves telling the router to send requests for a specific port to a specific local IP address. (and could be a security risk) Since most routers get their internet IP address by DHCP (it can change at any time), you'll probably need to subscribe to a service that keeps track of that, called dynDNS.org, so you can always use a (stable) domain name instead of IP address to print.
    Does it sound like what you want to do?

  • Remote printer is recognized but message says can't find printer?  It worked great before installing OSX Maverick

    Remote printer is recognized but message says can't find printer?  It worked great before installing OSX Maverick?

    Thank you for your response.
    Unfortunately I have already rebooted the router and that did not fix the problem. The weird thing is that the computer is connected to the network, it just won't connect to my computer. I have printed the network configuration page to confirm this, and it says the wireless signal is strong. 
    I have not changed anything at all recently in terms of routers, networks, etc. The printer stopped working completely randomly.
    Is there a part in the printer that like emits a signal which computers, phones, etc are supposed to detect? I don't know enough about the mechanics to really theorize about what is wrong, but it seems like that is the only thing that stopped working. 
    Do you have any other suggestions?

  • How can i print to my printer from a remote location

    Is there a way to print remotely to my printer in the office when I am away?

    This depends on your office setup. If the printer is connected directly to a Mac you use at work then you can log into it remotely with Apple's Back To My Mac service (though this may require some firewall adjustments by your work's IT folks to work).
    If the printer is an IP-based printer, then you can set it up by IP address on your home Mac and then log into your work via VPN and print; however, this will likewise require your work to have an active VPN service (this is not difficult to set up, but will require an admin to set up a VPN device).

  • I deleted Bonjour, since I don't need it for remote printing.  Now I get the message " Airport Base Station has stopped working: and also a message saying APAgent.exe can't be found.  What to do??? Thanks.

    I deleted Bonjour since I don't need it for remote printing.  Now on start-up I get the message: "Airport Base Station Agent has stopped working" and also message: "can't find APAgent.exe.:  Do I need AP Agent??  What to do??  Thanks. 

    The APAgent monitors your AirPort base station and informs you if there are things like firmware updates available. This utility relies on Bonjour, but is not required for base station operation. However, Bonjour makes it easier for your PC to "find" the base station via the AirPort Utility and I would recommend that you keep it installed. If you don't want the APAgent, you can just use the Apple Updater utility (that was also installed when the AirPort Utility was installed) to remove it.

  • HP Remote Print Drivers

    Hello,
    Just to give you some background, I have a HP PhotoSmart 6180 multifunction inkjet machine.  The printer has been wirelessly attached to my home network for about two years now (Linksys WRT54G).  All print functions work (printing to photo tray, using the document feeder, accessing the scanner, printing via bluetooth dongle, etc) when I am home on the network.  I even have on my Windows Mobile phone an application called HP iPhoto which allows me to wirelessly print to the photo tray.  You see, there are no problems on this end.
    Here is my problem: Using my Windows-based PC, I have the ability to print to it remotely via the internet.  I use the HP Remote Printing, v 2.323.0.0 driver and Instant Share through HP's site. I can also print remotely using any program that has a print function, i.e... Internet Explorer, MS Word, Adobe PDF, HP Solution Center, etc.). However, I cannot choose the photo paper tray.  I am only able to change the size of the print job, for instance: 4x6, 8 1/2X11, Hagaki.  In the HP Remote Printing Preferences, only two tabs are available: Paper/Quality and Basic.  In the Remote Printing Properties, the Device Settings tab (which is one of the tabs available when I look at the properties of the actual printer) is not available.  This is where I would add the available trays.  I believe it has to do with the driver version.
    It would help me tremendously if I can have the ability to choose the photo paper tray when printing remotely.  Most of the items that I send to my printer are photos. I've tried and tried to get help from HP, but to no avail (my printer is out of warranty, not applicable for free support, etc.).  Please help. It would be greatly appreciated.
    Thanking you in advance.

    Hi again.
    You're quite correct, it is CUPS (Common UNIX Printer System).
    Is http://www.linuxprinting.org/database.html what you were looking for?
    There are many '1100' HP printers listed.
    OSX also installs Gimp print drivers, I'm a total ignoramus as to how you set them up though, sorry.
    Adrian
    ibook G4 1GHz, 768mb; iMac 17" G4:768mb (10.3.9)   Mac OS X (10.4.5)   Belkin Wireless F5D7632

  • How can I grant users the ability to pause/resume printing without a "print operators group" password.

    Greetings,
    We are running 10.8.5 on 30 machines in an active directory environment (graphics lab). The clients are experiencing a persistant error when pausing or resuming print jobs. Each time something is paused, it requires an administrator password to resume the job. Administrators are not always present so designers are locked out of all of the printers until we come in (or remote in) to authenticate.
    I spoke with Apple today and they said they would not support active directory accounts and that the account must be edited by the department that created the account because the restrictions come from the Active Directory account preferences.
    On the other hand, I ALSO read that I can edit this in the CUPS interface or modify it with the terminal command below, locally.
    dseditgroup -o edit -u admin_name -p -a user_name -t user _lpadmin
    "dseditgroup" adds the user_name to a group (in this case, _lpadmin).
    And admin_name is the name of your administrator's account.
    a) Must this be modified on the Active directory account or CAN I modify this on the local machine via CUPS or terminal?
    b) If so, how would I grant users the ability to resume printing without an admin password?
    c) If not, exactly what must be modified in the active Directory account to allow pause/resume without an admin password.
    I have seen a terminal command that adds users to the print operatiors group (Ipadmin) and I have seen some info on editing the CUPS interface, If i must edit the CUPS interface to allow this, can anyone point to detailed instructions on how to make this change.
    I also saw info on editing the CUPS interface but the suggestion lacked details as to how and how to return to default if it does not work.
    I also saw a post with these suggestions below but without detail as to how one would carry this out.
    /etc/cups/cupsd.conf
    # All administration operations require an administrator to authenticate...
    <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
    AuthType Default
    *#Require user @SYSTEM*
    *Require valid-user*
    Order deny,allow
    </Limit>
    # All printer operations require a printer operator to authenticate...
    <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    *#Require user @AUTHKEY(system.print.operator) @admin @lpadmin*
    *Require valid-user*
    Order deny,allow
    </Limit>
    /etc/authorization
    +The system.print.operator key is new to Snow Leopard and seems to control resuming and pausing a printer queue among other things.+
    <key>system.print.admin</key>
    <dict>
    <key>allow-root</key>
    <true/>
    <key>class</key>
    <string>user</string>
    <key>group</key>
    <string>staff</string>
    <key>shared</key>
    <true/>
    </dict>
    <key>system.print.operator</key>
    <dict>
    <key>allow-root</key>
    <true/>
    <key>class</key>
    <string>user</string>
    <key>group</key>
    <string>staff</string>
    <key>shared</key>
    <true/>
    </dict>
    I have read all posts on this subject and I still am not clear on how to proceed, please assist.
    Thanks in advance,
    V

    Hello again.  For AD environments you can run the following command on each workstation:
    sudo dseditgroup -o edit -n /Local/Default -u localadmin -p -a "Domain Users" -t group _lpadmin
    This command assumes you are typing this interactively on the machine.  Obviously change localadmin to the Mac's local admin's name.  When running you will be prompted for password twice.  Once to elevate permissions (sudo) and once to validate you are localadmin.
    If you are using Apple Remote Desktop (or JAMF or other management suite), you can push this command out while embedding the localadmin's password. 
    sudo dseditgroup -o edit -n /Local/Default -u localadmin -P yourpass -a "Domain Users" -t group _lpadmin
    Please note, if your password uses special characters (/-\) this may fail over ARD.
    In Mavericks, AD groups are cached once they are referenced.  If you are dealing with a lot mobile users (laptops) you might want to replace Domain Users with everyone
    R-
    Apple Consultants Network
    Apple Professional Services
    Author "Mavericks Server – Foundation Services" :: Exclusively available in Apple's iBooks Store

  • Printing Exception when print to printer on a remote location

    <p>Hi,</p><p> I have a weird printing problem for a report created from report designer and printed from a JSP page created using CR4E. Any help or suggestions are very appreciated.</p><p>From CR4E and uses Tomcat 5.0, I&#39;m opening a report created from report designer, and print the report to a specific printer using getPrinterController().setPrinterName(...). We have printers in several facilities on the same network. Printing to network printers in one location works perfect. But printing to a network printer (in the same network) in another facility generates PrinterException. I added those printers to the server and it prints ok from other applicaitons like IE so it probably have access and can connect. I tried to print the jsp page code from Eclipse and it enters the queue but hangs, the print job cannot finish. I&#39;m cluelss now and don&#39;t know where to start to troubleshoot.</p><p> Thanks in advance.</p><p> Celia</p>

    Hi Thierry,
    Thanks for your response.
    I know it sounds like a java printing problem, but I'm wondering if Crystal Report's JRC need any setup before I call setPrinterName when the printer is located under a different IP gateway.
    The weirdest of all is after I tried to print from Eclipse, although not suceed, printing the crsytal report to that printer suddenly works.
    Is there anything I need to initialize or initiate in order to print the crystal report on a remote printer, and that Eclipse just happened to do that for us?
    Thanks,
    Celia

  • Can't connect to Network Printer

    I just bought a laptop with Vista.  I have  wireless router connected to a wired router.  My two desktops are conneted to the wired router and the laptop is wireless to the wireless router.
    My printer does not have a wireless card, so I have it plugged to one desktop, and I have the other desktop using it as a network printer.
    I can't seem to get the wireless to see the printer.  I have enabled file & print sharing on all computers, and the print spooler service is started on all computers.  When I do "Add a printer" it doesn't see the printer.  I tried doing "Add a network printer" and entering the name as \\computername\printername (where computername is the computer the printer is attached to), but I alternately get these two errors:
     "Windows cannot connect to the printer. The server print spooler service is not running. Please restart the spooler on the server or restart the server machine" or
    "Windows cannot connect to the printer. Makes ure that you have typed the name correctly, and that the printer is connected to network."
    I have not been able to see the desktop computer at all in the network options, but I do see the wired router listed, but no computers connected to the router.
    Can anyone help with this?  I am at my wit's end.                     Dan

    "Windows cannot connect to the printer. The server print spooler service is not running. Please restart the spooler on the server or restart the server machine" or
    see the tail end of my thread here, it sounds a LOT like your problems and my own are similar:
    http://social.technet.microsoft.com/Forums/en/w7itpronetworking/thread/7ab3e2a9-832c-4504-8d97-c7199bcc207e
    Hello,
    http://support.microsoft.com/default.aspx?scid=kb;en-US;2388142
    Might be the right hotfix!
    I will be trying this hotfix this week. I have this problem SO bad right now. The only slight difference is that my print server is running Microsoft Storage Server
    2003, and all my clients are now windows 7. The problem hits users at seemingly random times, random 5% of the company per day, and all printer pools...it made no sense at all! 
    I'll keep you posted as to whether the asyncronous RPC reg key helps, or if your hotfix does.
    There is also something i found that works (for 48 hours straight anyways):
    On vista/7 client, go to Devices and Printers and click Add Printer
    Then choose Local Printer. I know your printer is shared on a print server, just stick with me here!!
    Choose Create New Port and select Local Port...
    When it asks you for a port name, type in the UNC ADDRESS of the printer (ie \\printserver1\HPLaser5000n). 
    When it asks you for a driver, point it to the right location where you downloaded a clean set of drivers matching your client OS and printer. Or press the Windows Update button.
    finish adding the printer. You will notice the name of the printer doesn't have a "...on [printserver1"
    anymore, BUT it will still print!!
    I have done this for 4 printer pools and for the last 2 days the 1 user i set it up for has had no printing problems. May be total coincidence, but at this point i was willing to try anything. I'm not sure if this constitutes fooling windows 7 into setting
    up a remote printer as a local printer, and i'm also doubting this will be deployable via GPO or script...but still, i hope it helps.
    -Dane

  • How to print from internet to remote printer?

    The wife recently has a need to print from corporate LAN to a remote HP Laser @ our house. Mainly to save time. She wants to be able to run her reports at the end of the day from the corp LAN connection and spool it to a HP Laser at the house. This will get her out of work @ least 30 minutes early everyday. She can then review the report when she gets home. Is this possible? Home network is a OS X with AEBS connected via USB port on AEBS. Wife's laptop is a WIN XP. Thanks in advance.

    Hi,
    The latest printers provide remote printing by the HP ePrint feature,
    If your printer is the HP Officejet Pro 8500 (A909) as i can figure from your description, the ePrint feature unfortunately not supported by your printer.
    Regards,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

Maybe you are looking for

  • Problems after trying to install gnome-session-compiz

    Hi, as explained here i've installed gnome-session-compiz, but i forgot to install compiz-fusion before that. now, if I try pacman -S compiz-fusion-gtk, pacman outputs something like this (i'm translating from italian): Warning: impossible to resolve

  • Mail crashes trying to sync To Do items

    Can anyone solve a mail bug which is connected to the Apple Mail To Do Folder. I have one item that I have deleted a million times but it just keeps mutliplying when I try and receive email - and then the application crashes. Here is the crash log fo

  • Facetime with itouch users

    So i have an iphone 4 and i love the fact that it has a camerea on the front.. but i wanna be able to facetime with itouch 4 users. can this be done and how? and is there a way to skype with my iphone 4??

  • QM_LSMW for Inspection plan by BAPI method

    Hi All, Does anybody has any idea about LSMW by business object method using business object BUS1191? can anybody give step by step procedure for the same? Best Regards, Anand Rao

  • .MOV file "not supported..."

    Hi, I have uploaded some .MOV files from my Canon EOS550D camera to my PC and they display fine boith in VLC and in Windows Media Player.  However, when I try to open them in Adobe Premiere Elements 8.0 (M178 -9/8/2009)  get an error "This type of fi