cannot print multiple copies using solaris

Posted on 2006-05-08
Last Modified: 2013-12-23

       i tried to print multiple copies of a file
the command lp -d printername -n3 filename
but the output one printed on copy.
i am using solaris 8

Question by:jomfra
    LVL 61

    Expert Comment

    If i look at your question correctly then you have to use whitespace after -n parameter.

    Author Comment

    hello ghiest
    i tried you suggestion but only one copy printed
    any other suggestion.

    thank you

    LVL 38

    Accepted Solution

    The correct syntax is:

    lp -d printername -nX filename

    lp -n2 myfile
    will print 2 copies of myfile to the default printer

    It works with printer direct connet to a Sun box or printer to a Solaris printer

    It doesn't work for some HP Laserject printer with Jet Direct NIC, eg, LaserJet
    4050N, or LaserJet 2300DN.

    The workaround is to download a2ps and psutils from:

    It allow to to print multiple copies to the HP printers.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    QoS needed if there's no contention on a link? 4 36
    OSPF Routing Problems 9 49
    Sed question 2 25
    Arista Switches 2 14
    Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
    Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now