/    Sign up×
Community /Pin to ProfileBookmark

Stupid printing difficulty !!

Hi friends,

A long long time I’ve begging for a help to print sample plain files directly to the client LPT1 but nobody answer my questions.

Why is so hard to access client printer port ?
I don’t want to save or view or anything else in client machine, I only need to print in his LPT1…

Basicaly, I need to print a plain text file directly to the client printer port (LPT1 or LPT2 or LPT3 or PRN, …) generated from a database in my web-server. I tried many ways such as printing directly to LPT1 at the moment I’m reading data, creating and saving the file on server then printing but nothing worked.

I’ve used ASP and JavaScript :
Objects – Scripting.FileSystemObject
Wscript.Shell

Please, can anybody help ?

Thks

Adilson

to post a comment
Full-stack Developer

4 Comments(s)

Copy linkTweet thisAlerts:
@ray326May 19.2007 — Use a plain Windows app and treat the web server serving a text file like a simplistic web service.
Copy linkTweet thisAlerts:
@AdilsonauthorMay 20.2007 — Thanks a lot Ray326. I'll go for it but I'll appreciate If you indicate an address which I can find something already done since I'm not so expert.
Copy linkTweet thisAlerts:
@ray326May 20.2007 — I've done similar "lite" web services myself but I've never looked for them on the web. MS should have an example or two of an application that fetches web pages. That's all you really need to get started.
Copy linkTweet thisAlerts:
@AdilsonauthorMay 20.2007 — Thanks very much ! You're very helpfull. I'll go for it.
×

Success!

Help @Adilson spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.28,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...