A computer components & hardware forum. HardwareBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » HardwareBanter forum » General Hardware & Peripherals » Printers
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to print a file from the command line? Epson, Brother



 
 
Thread Tools Display Modes
  #11  
Old March 8th 17, 05:54 AM posted to alt.comp.os.windows-10,comp.periphs.printers
Paul[_28_]
external usenet poster
 
Posts: 1,467
Default How to print a file from the command line? Epson, Brother

micky wrote:
In alt.comp.os.windows-10, on Tue, 07 Mar 2017 17:14:31 -0500, micky
wrote:

Is there a command line that would print one picture from my files using
an Epson printer?
a Brother printer?

I should have thought of this earlier, but I need something to keep the
ink jet printers from drying out while I'm gone. Isn't 11 weeks enough
time to do that?

I thought I'd make a bat file that would run once a month that would
print, I guess, the same photo each time, but it's only 2 copies.

TIA



Well, I found something for brother that probably applies to Epson too!

Linux Informations
Print command (LPR)
Print Command :
lpr -P (printer name) (filename)

Configuration Command :
brprintconf_(model name) [Option]

Options:
http://support.brother.com/g/s/id/li...ions_lpr11.pdf
but I don't think I need any of these options.

However when I try this in a bat file, it says: Unknown command: LPR

I found something called LPR.exe in the side by side directory, but it
says it won't run on a 64-bit computer. I don't think this is the right
thing anyhow.


LPR originated on Unix. You would expect a port to Linux.
I don't know what you'd expect on the Windows side. Windows
made an attempt at adding non-Windows support, but efforts
like this would take all day to research.

https://en.wikipedia.org/wiki/Line_P...aemon_protocol

On Win10, the closest you might get to that kind of (Linux)
executable is if you have the Bash shell installed. and you
never know with Bash, how many subsystems are actually wired
up to work. Linux users talk more about CUPS than about lpr today.

This is one of those "it's too late to be writing this script"
situations. The older you get, the more you respect the time
margins required.

It's like designing a house alarm system, 20 minutes before
you hop on the cruise liner. Not gonna happen :-) I would
prefer to remember to take out the trash, than fool with
techie stuff before a departure.

Paul
  #12  
Old March 8th 17, 06:06 AM posted to alt.comp.os.windows-10,comp.periphs.printers
micky
external usenet poster
 
Posts: 439
Default How to print a file from the command line? Epson, Brother

In alt.comp.os.windows-10, on Tue, 07 Mar 2017 17:23:49 -0500, Paul
wrote:

micky wrote:
Is there a command line that would print one picture from my files using
an Epson printer?
a Brother printer?

I should have thought of this earlier, but I need something to keep the
ink jet printers from drying out while I'm gone. Isn't 11 weeks enough
time to do that?

I thought I'd make a bat file that would run once a month that would
print, I guess, the same photo each time, but it's only 2 copies.

TIA


I remember now, printing in black does use some color, right (even if no
grey scale is involved) so the test pages are good enough.

The cartridges should cap themselves when in the parked position.
Something has to cover the orifices, or they'd clog even faster
than that.

I use mine less frequently than that, and don't have a problem.

If I print once a year, the cartridges might clog after
about four years or so.


That's amazing. Clogging was a major proglem with the first inkjet
printer I had, 20 years ago maybe.

And again a month ago, different printer, only yellow was coming out, so
I got to be extra careful.



Some printer brands, if you leave them powered (whether it's
USB power or a line cord), and the LED is on, the printer
will "purge" itself about once a day. By the time you get
back from your trip, the carts would be pumped dry. So
that's not exactly a "cheap" option. That's maintenance
to an impractical level.

Paul


  #13  
Old March 8th 17, 09:11 AM posted to alt.comp.os.windows-10,comp.periphs.printers
micky
external usenet poster
 
Posts: 439
Default How to print a file from the command line? Epson, Brother

In alt.comp.os.windows-10, on Tue, 07 Mar 2017 21:56:50 -0600, Char
Jackson wrote:

On Wed, 8 Mar 2017 03:12:41 -0000 (UTC), Boris
wrote:

Char Jackson wrote in
m:

On Tue, 07 Mar 2017 17:14:31 -0500, micky
wrote:

Is there a command line that would print one picture from my files
using an Epson printer?
a Brother printer?

I should have thought of this earlier, but I need something to keep
the ink jet printers from drying out while I'm gone. Isn't 11 weeks
enough time to do that?

I thought I'd make a bat file that would run once a month that would
print, I guess, the same photo each time, but it's only 2 copies.

TIA

I recently did this for a friend. I created a basic task in Task
Scheduler, set it to run every Monday morning at 10:00 AM, and entered
this command string:

rundll32 printui.dll,PrintUIEntry /k /n "EPSON Stylus Photo R220
Series"

Where, obviously, her printer name is "EPSON Stylus Photo R220 Series"

You can test it by running it from a cmd prompt, inserting your
printer instead of her Epson.


Worked great on my "Brother HL-2270DW series" printer. Printed a test
page from this XP machine over my home network to the wireless Brother
in another room.

In fact, just run "rundll32 printui.dll,PrintUIEntry /?" from a cmd
prompt to get a pop-up window with all of the possible command line
switches. You'll see what /k and /n really mean.


Cool.


Excellent! Thanks for reporting your results. My friend is happy with
her weekly prints, as well. It looks like micky found another solution,
so all is well.


No, I went with yours, and it tested fine until I tested starting
Windows and I remembered that I had it perfect, but something messed it
up so I get that spotlight picture, and even though i have no password,
I have to press enter to complete startup.

I've found more than one method in google, adding NolockScreen to the
registry, using netplwiz and unchecking a box, but it looks like if I
let it start up while Im' gone, it will get so far and stay there
forever.

I don't have a password, have never had one, but I still have to press
enter.
  #14  
Old March 8th 17, 09:13 AM posted to alt.comp.os.windows-10,comp.periphs.printers
micky
external usenet poster
 
Posts: 439
Default How to print a file from the command line? Epson, Brother

In alt.comp.os.windows-10, on Tue, 07 Mar 2017 23:54:17 -0500, Paul
wrote:

micky wrote:
In alt.comp.os.windows-10, on Tue, 07 Mar 2017 17:14:31 -0500, micky
wrote:

Is there a command line that would print one picture from my files using
an Epson printer?
a Brother printer?

I should have thought of this earlier, but I need something to keep the
ink jet printers from drying out while I'm gone. Isn't 11 weeks enough
time to do that?

I thought I'd make a bat file that would run once a month that would
print, I guess, the same photo each time, but it's only 2 copies.

TIA



Well, I found something for brother that probably applies to Epson too!

Linux Informations
Print command (LPR)
Print Command :
lpr -P (printer name) (filename)

Configuration Command :
brprintconf_(model name) [Option]

Options:
http://support.brother.com/g/s/id/li...ions_lpr11.pdf
but I don't think I need any of these options.

However when I try this in a bat file, it says: Unknown command: LPR

I found something called LPR.exe in the side by side directory, but it
says it won't run on a 64-bit computer. I don't think this is the right
thing anyhow.


LPR originated on Unix. You would expect a port to Linux.
I don't know what you'd expect on the Windows side. Windows
made an attempt at adding non-Windows support, but efforts
like this would take all day to research.

https://en.wikipedia.org/wiki/Line_P...aemon_protocol

On Win10, the closest you might get to that kind of (Linux)
executable is if you have the Bash shell installed. and you
never know with Bash, how many subsystems are actually wired
up to work. Linux users talk more about CUPS than about lpr today.

This is one of those "it's too late to be writing this script"
situations. The older you get, the more you respect the time
margins required.

It's like designing a house alarm system, 20 minutes before
you hop on the cruise liner. Not gonna happen :-) I would
prefer to remember to take out the trash, than fool with
techie stuff before a departure.

Paul


I missed the trash too. Last pickup was Monday and I didn't have it
out. It will be interesting to see what happens in the garbage can.
  #15  
Old March 8th 17, 09:27 AM posted to alt.comp.os.windows-10,comp.periphs.printers
Char Jackson
external usenet poster
 
Posts: 213
Default How to print a file from the command line? Epson, Brother

On Wed, 08 Mar 2017 03:13:03 -0500, micky
wrote:

In alt.comp.os.windows-10, on Tue, 07 Mar 2017 23:54:17 -0500, Paul
wrote:

This is one of those "it's too late to be writing this script"
situations. The older you get, the more you respect the time
margins required.

It's like designing a house alarm system, 20 minutes before
you hop on the cruise liner. Not gonna happen :-) I would
prefer to remember to take out the trash, than fool with
techie stuff before a departure.

Paul


I missed the trash too. Last pickup was Monday and I didn't have it
out. It will be interesting to see what happens in the garbage can.


Put a hunk of meat in there. Fish, if you have it. That should bring out
the critters and make things interesting.

  #16  
Old March 8th 17, 03:33 PM posted to alt.comp.os.windows-10,comp.periphs.printers
Andrew Rossmann
external usenet poster
 
Posts: 106
Default How to print a file from the command line? Epson, Brother

In article , NONONOmisc07
@bigfoot.com says...

Is there a command line that would print one picture from my files using
an Epson printer?
a Brother printer?

I should have thought of this earlier, but I need something to keep the
ink jet printers from drying out while I'm gone. Isn't 11 weeks enough
time to do that?

I thought I'd make a bat file that would run once a month that would
print, I guess, the same photo each time, but it's only 2 copies.


A properly parked printer shouldn't really dry out much if it all. If
you will not be printing for a few weeks, turn the printer off with it's
own power button. That should guarantee it's fully parked and sealed. If
the computer or network it's connected to is left on, you may even want
to then unplug it from power to guarantee nothing wakes it up. If you
unplug at the outlet (not just unplug an external supply), you also
guarantee using 0W of power.

--
If there is a no_junk in my address, please REMOVE it before replying!
All junk mail senders will be prosecuted to the fullest extent of the
law!!
http://home.comcast.net/~andyross
  #17  
Old March 8th 17, 03:46 PM posted to alt.comp.os.windows-10,comp.periphs.printers
Mayayana
external usenet poster
 
Posts: 32
Default How to print a file from the command line? Epson, Brother

"Paul" wrote

| The cartridges should cap themselves when in the parked position.
| Something has to cover the orifices, or they'd clog even faster
| than that.
|

That's news to me. I have an HP Envy 5660 that I mostly
only use for business contracts and the like, leaving
it turned off otherwise. I probably use it about once per
month. Sometimes every two months. Recently it began
fading, worse with each print, until there was very little
printed on the page. But the cartridges are both full and
not very old. The self-cleaning routines had no effect. I
found advice online to soak the jets in warm water and
dab them on a paper towel. That worked. Though the
color print quality is still not perfect.

It may be that the unusually dry Winter weather has
caused the problem, but I wouldn't trust the printer itself
to keep the cartridges functioning by "parking" them.

I wonder if maybe removing and wrapping in plastic
wrap, perhaps in the fridge, would be a good method.


  #18  
Old March 8th 17, 09:49 PM posted to alt.comp.os.windows-10,comp.periphs.printers
Paul[_28_]
external usenet poster
 
Posts: 1,467
Default How to print a file from the command line? Epson, Brother

Mayayana wrote:
"Paul" wrote

| The cartridges should cap themselves when in the parked position.
| Something has to cover the orifices, or they'd clog even faster
| than that.
|

That's news to me. I have an HP Envy 5660 that I mostly
only use for business contracts and the like, leaving
it turned off otherwise. I probably use it about once per
month. Sometimes every two months. Recently it began
fading, worse with each print, until there was very little
printed on the page. But the cartridges are both full and
not very old. The self-cleaning routines had no effect. I
found advice online to soak the jets in warm water and
dab them on a paper towel. That worked. Though the
color print quality is still not perfect.

It may be that the unusually dry Winter weather has
caused the problem, but I wouldn't trust the printer itself
to keep the cartridges functioning by "parking" them.

I wonder if maybe removing and wrapping in plastic
wrap, perhaps in the fridge, would be a good method.



The white tray underneath the carts, seen on the right
here, may have something to do with it. I have a different
model, and the white tray underneath seems to be pressed
up against the cartridge. At some point in the travel of
the carts, there is supposed to be a sponge somewhere.
But you'll notice the white tray seems to move around
a bit, and I can't tell what that action is for. I
can't see the printing face of the cart, when it's parked.

https://www.youtube.com/watch?v=WreQA6rKSJo

Paul
  #19  
Old March 9th 17, 01:09 AM posted to alt.comp.os.windows-10,comp.periphs.printers
Mayayana
external usenet poster
 
Posts: 32
Default How to print a file from the command line? Epson, Brother

"Paul" wrote

| | The cartridges should cap themselves when in the parked position.
| | Something has to cover the orifices, or they'd clog even faster
| | than that.
| |
|
| That's news to me.

| https://www.youtube.com/watch?v=WreQA6rKSJo
|

I really don't care how it's allegedly supposed to
work. They dry out. My current printer is only
1 or 2 years old. I don't remember exactly, but it's
a recent model.


  #20  
Old March 9th 17, 01:56 AM posted to alt.comp.os.windows-10,comp.periphs.printers
Tony
external usenet poster
 
Posts: 175
Default How to print a file from the command line? Epson, Brother

Paul wrote:
Mayayana wrote:
"Paul" wrote

| The cartridges should cap themselves when in the parked position.
| Something has to cover the orifices, or they'd clog even faster
| than that.
|

That's news to me. I have an HP Envy 5660 that I mostly
only use for business contracts and the like, leaving
it turned off otherwise. I probably use it about once per
month. Sometimes every two months. Recently it began
fading, worse with each print, until there was very little
printed on the page. But the cartridges are both full and
not very old. The self-cleaning routines had no effect. I
found advice online to soak the jets in warm water and
dab them on a paper towel. That worked. Though the
color print quality is still not perfect.

It may be that the unusually dry Winter weather has
caused the problem, but I wouldn't trust the printer itself
to keep the cartridges functioning by "parking" them.

I wonder if maybe removing and wrapping in plastic
wrap, perhaps in the fridge, would be a good method.



The white tray underneath the carts, seen on the right
here, may have something to do with it. I have a different
model, and the white tray underneath seems to be pressed
up against the cartridge. At some point in the travel of
the carts, there is supposed to be a sponge somewhere.
But you'll notice the white tray seems to move around
a bit, and I can't tell what that action is for. I
can't see the printing face of the cart, when it's parked.

https://www.youtube.com/watch?v=WreQA6rKSJo

Paul

The white part is in fact the mechanism that caps the print heads and assists
with preventing them from drying out.
That is not foolproof, print heads dry out with disuse anyway eventually but
the capping machanism helps considerably.
The sponge will be somewhere else on the carriage bed and is used to dump ink
when the heads are being cleaned by the printer.
Tony

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Command line option syntax error. Type Command /? for Help §ñühw¤£f[_3_] Homebuilt PC's 2 April 19th 09 10:23 PM
Help with Command Line Bill V Asus Motherboards 2 April 3rd 06 01:01 AM
Ghost 9 command line? Ge Storage (alternative) 11 August 20th 05 06:24 PM
Epson Print CD Utility - File Sorting [email protected] Printers 2 January 4th 05 02:09 AM
CANNOT OPEN FILE CREATED WITH EPSON PRINT CD FOR WINDOWS Harry Printers 0 October 6th 04 02:28 PM


All times are GMT +1. The time now is 11:50 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 HardwareBanter.
The comments are property of their posters.