# PortServer 4 - Printing

**URL:** <https://forums.digi.com/t/portserver-4-printing/6775>\
**Category:** Portserver TS\
**Created:** [February 21, 2006, 3:12pm UTC](https://forums.digi.com/t/portserver-4-printing/6775 "2006-02-21T15:12:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mattr](https://avatars.discourse-cdn.com/v4/letter/m/2acd7d/32.png) [@mattr](https://forums.digi.com/u/mattr)\
**Post date:** [February 21, 2006, 3:12pm UTC](https://forums.digi.com/t/portserver-4-printing/6775/1 "2006-02-21T15:12:24Z")

</div>

I have installed the portserver on a server using Sun Solaris 2.8. I am trying to configure one of the ports to print. I have set up the dty ports. However, I get the following message when using lpadmin to configure and test the print queue.

UX:lpadmin:ERROR:error writing printer information (invalid argument)

All help is appreciated.

---

<div class="post-metadata">

**Author:** ![userid0](https://avatars.discourse-cdn.com/v4/letter/u/f6c823/32.png) [@userid0](https://forums.digi.com/u/userid0)\
**Post date:** [February 21, 2006, 4:36pm UTC](https://forums.digi.com/t/portserver-4-printing/6775/2 "2006-02-21T16:36:57Z")

</div>

It sounds as though an invalid argument was used when configuring the printer. Hard to say without knowing more.

Here is some useful information on configuring printers in Solaris:

Local printer:

lpadmin p prt\_name v /dev/term/x##s -D description T PS -I postscript

Misc printing commands:

lpadmin d prt\_name  
set prt\_name as the default printer.

lpstat d  
show current default printer.

lpstat p prt\_name l  
show prt\_name configuration.

lpstat t  
show all printer status.
