delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/02/22/09:32:48

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:from:to:subject:date:message-id
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=re/QsQVrNU0agtmxc+RVZIhiW9WniBLlUkbXu0p0w/2Nw4O14L5MJ
5bQ2rJXWxXjEYX/w06Oy32mSLr7sAFPEp9adHtHBGtXNr034mg5n9WIByRM9Yu0B
8ZIRrPEutMVPUbkdtvNNbfdCb6fD4ssVadX4biAU5OVhowmToDMoRY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:from:to:subject:date:message-id
:mime-version:content-type:content-transfer-encoding; s=default;
bh=RXDl2WvWn5aBj+LnehD7jrbofcQ=; b=AW3ybQBq5mev3QRY386wDTfs6vZx
2cjNsVIuwbl+WxpQ0yVhH+z9CYFuCLjMQgDedlQsU3uRR41yEuQ1iZoDKoS0FYjd
aYDcjwfXesBtg8p1wpin9Ll+M2LMU/S3dPCjP3xHHot/msZmqmqTj1EJ5XTzfkrM
RkWFAd6ilqT1IEM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.2 required=5.0 tests=AWL,BAYES_50,HTML_MESSAGE,LOTS_OF_MONEY,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=H*RU:sk:omr-a00, Hx-spam-relays-external:sk:omr-a00, HX-HELO:sk:omr-a00, rod
X-HELO: omr-a008e.mx.aol.com
Reply-To: <rodney DOT barnhart AT verizon DOT net>
From: <rodney DOT barnhart AT verizon DOT net>
To: <cygwin AT cygwin DOT com>
Subject: Printing (lpr, print, cat > <various names> returns printer not valid or no longer available
Date: Thu, 22 Feb 2018 09:32:29 -0500
Message-ID: <000001d3abe9$f7ca3430$e75e9c90$@verizon.net>
MIME-Version: 1.0
x-aol-global-disposition: G
x-aol-sid: 3039ac1afe6e5a8ed47e67d3
X-AOL-IP: 71.185.73.19
X-IsSubscribed: yes

I have read the FAQs and 100's on general web page discussions re printing
and they all talk about \\ <file://%3cserver%3e/%3cprinter>
<server>\<printer> as the answer, but I only get the not valid response.
I've tried many varients of \\, //, "", ''  and escaping 2, 4 etc times  and
it doesn't make any difference.

 

I am running Windows 10 and can print to the printers in the device list in
Windows without problems from Windows. The printer in question is Postscript
capable HP print on the local network with no particular "server" that I am
aware of. 

I even tried making a shorter printer name with no spaces or special
characters, The OS sent that name when I started Cygwin, but it again didn't
make any difference.

Here is some information, any help would be greatly appreciated.

 

I find it hard to believe I'm the only one having this problem.

 

By the way I installed "everything" when I installed Cygwin, took almost 5
hours - I'm very patient, but everything worked fine and it used about 150+G
of disk space, no problem.

 

Here is some information, any help would be greatly appreciated.

$ lpr -D

Windows printer name = 'NPIFA1F16 (HP Color LaserJet CP2025n)'

isWindows9x = 0, isWindows2K_NT4 = 1

Printer name: 'NPIFA1F16 (HP Color LaserJet CP2025n)', Port name:
'WSD-4c342c10-53d8-4569-8ddf-131b36eb360b.0063'

Printer name: 'Microsoft XPS Document Writer', Port name: 'PORTPROMPT:'

Printer name: 'Microsoft Print to PDF', Port name: 'PORTPROMPT:'

Printer name: 'HP ePrint + JetAdvantage', Port name: 'HP ePrint'

Printer name: 'Fax', Port name: 'SHRFAX:'

 

rodne AT Rodney-HP-Envy ~

$ lpr -d \\192.168.0.122\$PRINTER .bashrc

lpr: printer error: can't open '\192.168.0.122$PRINTER' for writing: The
printer name is invalid.

 

rodne AT Rodney-HP-Envy ~

$ lpr -d '\\192.168.0.122\NPIFA1F16 (HP Color LaserJet CP2025n)' .bashrc

lpr: printer error: can't open '\\192.168.0.122\NPIFA1F16 (HP Color LaserJet
CP2025n)' for writing: The printer name is invalid.

 

Can't initialize "prn", print doesn't work either, copying directly to the
printer doesn't work, cating and pipling to lpr doesn't work

 

Rod (2/22/18)

 


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019