Set the printer up within Windows, and then share it. You should be able to print from a Windows application.
At the Command prompt issue:
Your DOS application should then be able to print.
hello friends
i installed samba in solaris x86 pc , and don't have the binari smbadduser
i use linux and i'm studing solaris
how can i add user in samba of solaris version?
and i need smbadduser ?
thanks friends (2 Replies)
:confused: I've been trying to get Samba working on RH7.2 but been failing. Could anyone give me some tips on what I should check to see what I'm doing wrong. I've double check everything. Maybe I could of forgot something. PLEASE HELP. (2 Replies)
Hi guys ...
i need ur help with some printing problem in unix ...
first prob. :
i wanna print from my NCR unix to an Win NT , Ip based printing server ( HP JetDirect ) .
My issue , is it possible to print directly to an Ip address from unix ?
How do i make it work to get any results ?... (3 Replies)
I am trying to install samba on a unix box solaris 8. I got the gcc compiler fron sunfreeware,. I nstalled the compiler in /opt/temp but whe I do pkkgadd it tells me there were no packages found. I had suceess before in installing samba. What am i doing wrong?
pkgadd: ERROR: no packages were... (1 Reply)
I would like to know if anyone has a way to PRINT TO a printer attached to a Windows 7 PC, from SCO, while logged in via a VPN connection.
I am able to attach to a Samba share on the SCO server for files while attached to the VPN, so I know my Samba is workling - but my print jobs return:
... (2 Replies)
We are using Red Hat. We have a issue like this: We want to print from Linux, to a printer attached to a Windows machine. What we want to print is a PDF. It prints, but the printing starts from the middle of the page. In the report, there is no space at the top but still printing starts from the... (5 Replies)
Hi,
We have a Unix 3.2v5.0.5.
I installed a printer via scoadmin, HP network printer manager with network peripheral name (hostname and ipadres are in /etc/hosts).
This is the configuration file :
Code:
root@sco1 # cat configurationBanner: on:AlwaysContent types: simpleDevice:... (0 Replies)
Hi All, I've been trying to configure samba on Solaris 10 to allow me to have one share that is open and writable to all users and have the rest of my shares password protected by a generic account.
If I set my security to user, my secured shares work just fine and prompt accordingly, but when... (0 Replies)
Dear readers,
We have a printer problem with a UNIX system.
The OS is Unix IRIX 6.5
We have connected a printerto the system. If we then make a test print everything goes well . (IP printing)
But if we make a print from the "orrga,i"program. Then we see all the printouts stuck within the... (3 Replies)
Discussion started by: SergevdH
3 Replies
LEARN ABOUT SUSE
print
print(3NCURSES)print(3NCURSES)NAME
mcprint - ship binary data to printer
SYNOPSIS
#include <curses.h>
int mcprint(char *data, int len);
DESCRIPTION
This function uses the mc5p or mc4 and mc5 capabilities, if they are present, to ship given data to a printer attached to the terminal.
Note that the mcprint code has no way to do flow control with the printer or to know how much buffering it has. Your application is
responsible for keeping the rate of writes to the printer below its continuous throughput rate (typically about half of its nominal cps
rating). Dot-matrix printers and 6-page-per-minute lasers can typically handle 80cps, so a good conservative rule of thumb is to sleep for
a second after shipping each 80-character line.
RETURN VALUE
The mcprint function returns ERR if the write operation aborted for some reason. In this case, errno will contain either an error associ-
ated with write(2) or one of the following:
ENODEV
Capabilities for printer redirection do not exist.
ENOMEM
Couldn't allocate sufficient memory to buffer the printer write.
When mcprint succeeds, it returns the number of characters actually sent to the printer.
PORTABILITY
The mcprint call was designed for ncurses(3NCURSES), and is not found in SVr4 curses, 4.4BSD curses, or any other previous version of
curses.
BUGS
Padding in the mc5p, mc4 and mc5 capabilities will not be interpreted.
SEE ALSO ncurses(3NCURSES)print(3NCURSES)