eg252
asked on
copy epl file to shared eltron printer
I have a .EPL file that I want to print on an EPL zebra printer. When i copy the file to a local printer "copy label.epl /b "Eltron LP2824" it works fine.
When I try to copy the file to a network printer - "copy label.epl /b "\\desk2\EplPrinter" I get access is denied.
I have the printer on my computer and i CAN print to it, but I cant copy a epl file..
Is there any other way to get a epl file to a shared usb printer on the network?
Using windows 7, 64 bit machines for both computers..
When I try to copy the file to a network printer - "copy label.epl /b "\\desk2\EplPrinter" I get access is denied.
I have the printer on my computer and i CAN print to it, but I cant copy a epl file..
Is there any other way to get a epl file to a shared usb printer on the network?
Using windows 7, 64 bit machines for both computers..
In your example:
Is "desk2" the name of your computer, or the name of a remote computer to which the printer is physically connected?
"EplPrinter" must be the share name of the printer (and preferably with a value of 8 characters or fewer); the permissions must be set correctly on this share to allow other computers to use it.
Read this thread:
http://social.technet.microsoft.com/Forums/en-US/w7itpronetworking/thread/b33638c8-1032-4775-82e2-21f457cd0b70/
You need some additional rights for printing from dos.
http://social.technet.microsoft.com/Forums/en-US/w7itpronetworking/thread/b33638c8-1032-4775-82e2-21f457cd0b70/
You need some additional rights for printing from dos.
ASKER
sorry folks,
desk2 is the name of the computer. the printer name is "zebra upc"
it is shared and i CAN print to it in windows.
Im trying to copy an EPL file to the printer and i get access denied.
when i tried creating a local port and type in "\\desk2\zebra upc" i get access is denied
when i try to copy /b i get 0 files copied access is denied..
desk2 is the name of the computer. the printer name is "zebra upc"
it is shared and i CAN print to it in windows.
Im trying to copy an EPL file to the printer and i get access denied.
when i tried creating a local port and type in "\\desk2\zebra upc" i get access is denied
when i try to copy /b i get 0 files copied access is denied..
"when i tried creating a local port and type in "\\desk2\zebra upc" i get access is denied"
Thread mentioned above should help you
Thread mentioned above should help you
ASKER
als315
I read the entire thread and tried all
i tried to add lpt2 - worked
i tried disabling lpt1 but there are no lpt ports
the net use to add lpt2 goes through fine
when i try to add a printer and add a local port it gets access denied..
when i try to print /d i get "unable to initilize"
thank you for trying - but i need more...
I read the entire thread and tried all
i tried to add lpt2 - worked
i tried disabling lpt1 but there are no lpt ports
the net use to add lpt2 goes through fine
when i try to add a printer and add a local port it gets access denied..
when i try to print /d i get "unable to initilize"
thank you for trying - but i need more...
ASKER
bottom line:
i CAN run the net use to add "\\desk2\zebra upc"
i CAN print to that printer in windows.
i CANNOT copy a file to that printer or mapped port
i CANNOT add a local port "\\desk2\zebra upc"
so, i cant copy my epl file to that printer.
does anyone know another way to get my epl file over the network to a shared USB printer?
i CAN run the net use to add "\\desk2\zebra upc"
i CAN print to that printer in windows.
i CANNOT copy a file to that printer or mapped port
i CANNOT add a local port "\\desk2\zebra upc"
so, i cant copy my epl file to that printer.
does anyone know another way to get my epl file over the network to a shared USB printer?
"the net use to add lpt2 goes through fine"
Have you tried to copy to lpt2 from command prompt with administrator rights?
Have you tried to copy to lpt2 from command prompt with administrator rights?
ASKER
yes. access is denied even with administrator rights
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thank you so much! fabulous!!!
ASKER
when I tried it on the affected computer - it does run from a cmd window, but when i try to do it vba shell it doesn't work..
ret=shell("LPR -S desk2 -P EPLprinter c:\test\myfile.epl")
any ideas?
ret=shell("LPR -S desk2 -P EPLprinter c:\test\myfile.epl")
any ideas?
yes, use
cmd /c LPR -S desk2 -P EPLprinter c:\test\myfile.epl
cmd /c LPR -S desk2 -P EPLprinter c:\test\myfile.epl