E.A.Outlaws: Tough One - E.A.Outlaws

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Tough One Welcome the challenge (I dare y'all)

#1 User is offline   EAO Iceman Icon

  • He likes to post
  • Icon
  • Group: Desperado
  • Posts: 987
  • Joined: 01-August 04
  • Location:Indiana
  • Interests:Golf, racing, home construction
  • Time Zone:GMT-5
  • EAO Team Joined:Hot Pursuit 2
  • Country:

Posted 30 June 2007 - 03:39 AM

Ok, all of you Cowboys out there..... I just spent 5 hours on Google looking for the solution to this one with no luck. I know Outlaws are smarter than that....

Here's my dilemma.

I want to use a php script to do the following:

Upon hitting "submit' the user is redirected to another page, but in-between, they go thru a php script that fires to their printer, once, so that they get a printout of the http://xxxxxx.jpg only once.

What is the magic command to fire a job to a printer in php?

I've been looking for this for years, then tonite it dawned on me how good the Outlaws are.....

Anyone got a solution?

Posted Image
I don't step off...I STEP UP - Vic Mackey


See either of my sites here:
Iceman Technologies - Wesite Building, Flash, and more
www.No_1_Thief.com
0

#2 User is offline   EAO trilegdog Icon

  • He has a Horse
  • Icon
  • Group: Bandit
  • Posts: 2411
  • Joined: 04-March 04
  • Gender:Male
  • Interests:Guitar, racing with friends, art, writing, my dog Buddy
  • Time Zone:GMT-5
  • EAO Team Joined:Hot Pursuit 2
  • Country:

Posted 30 June 2007 - 12:43 PM

I'll PM one of our friends & see if he can help. :)
0

#3 User is offline   EAO Leadfoot Icon

  • Horseman
  • Icon
  • Group: Honorable Outlaw
  • Posts: 874
  • Joined: 27-September 03
  • Gender:Male
  • Location:Nova Scotia Canada
  • Time Zone:GMT-4
  • EAO Team Joined:Choose your game
  • Country:

Posted 30 June 2007 - 12:53 PM

I have PHp script package that contains 500+ scripts

here is a partial list

If you want then just let me know and I will send you a link

Attached File(s)


0

#4 User is offline   242 Icon

  • Rookie
  • Icon
  • Group: Tenderfoot
  • Posts: 6
  • Joined: 20-June 07
  • Location:Czech rep.
  • Time Zone:GMT+1
  • EAO Team Joined:Hot Pursuit 2
  • Country:

Posted 30 June 2007 - 03:03 PM

Hi, i´m not a php or java coder, but i think you can try it with javascript printing options. ;)
0

#5 User is offline   EAO Iceman Icon

  • He likes to post
  • Icon
  • Group: Desperado
  • Posts: 987
  • Joined: 01-August 04
  • Location:Indiana
  • Interests:Golf, racing, home construction
  • Time Zone:GMT-5
  • EAO Team Joined:Hot Pursuit 2
  • Country:

Posted 01 July 2007 - 07:49 PM

Trileg, thanks. I look forward to hearing if they've got something.

Leaddy, the txt list doesn't appear to have anything that will print. Can you check the listing for the big ones to see if they have anything about printing?

Thanks for the tip 242, I'll look into that. The only catch is that I would need something to send the page off to another page, and not allow 'back' button to work.

~Iceman

Posted Image
I don't step off...I STEP UP - Vic Mackey


See either of my sites here:
Iceman Technologies - Wesite Building, Flash, and more
www.No_1_Thief.com
0

#6 User is offline   242 Icon

  • Rookie
  • Icon
  • Group: Tenderfoot
  • Posts: 6
  • Joined: 20-June 07
  • Location:Czech rep.
  • Time Zone:GMT+1
  • EAO Team Joined:Hot Pursuit 2
  • Country:

Posted 02 July 2007 - 05:04 PM

i though something like this:

<INPUT type="button" VALUE="your value" onclick="window.open(your document location, 'jpg', 'width=490, height=100, menubar=no')">


your document:

<body onload="java script:window.print();">
0

#7 User is offline   EAO Iceman Icon

  • He likes to post
  • Icon
  • Group: Desperado
  • Posts: 987
  • Joined: 01-August 04
  • Location:Indiana
  • Interests:Golf, racing, home construction
  • Time Zone:GMT-5
  • EAO Team Joined:Hot Pursuit 2
  • Country:

Posted 03 July 2007 - 12:39 AM

Well, the script thingy seems to work, but I'm running into an issue.

When it sends to the printer, the window pops up for the printer control, enabling multiple prints of the page. The only way this whole thing can work right is if they can't have multiple copies.

If someone has a way to send to the printer directly (like the "print" icon in MSWord), that would be most useful.

Thank you all for your assistance so far,
and for anything y'all come up with.

Posted Image
I don't step off...I STEP UP - Vic Mackey


See either of my sites here:
Iceman Technologies - Wesite Building, Flash, and more
www.No_1_Thief.com
0

#8 User is offline   EAO trilegdog Icon

  • He has a Horse
  • Icon
  • Group: Bandit
  • Posts: 2411
  • Joined: 04-March 04
  • Gender:Male
  • Interests:Guitar, racing with friends, art, writing, my dog Buddy
  • Time Zone:GMT-5
  • EAO Team Joined:Hot Pursuit 2
  • Country:

Posted 03 July 2007 - 01:26 AM

similar question in forum at sun, might be useful

I haven't read all of this but one poster has the same question. One answer is that it can't be done, and a reasonable explanation why is offered. I'll keep looking.


Update:

Well, mukadamn (he asked the same question as yourself; look at his post on "print dialog" on 15 April), said that he was able to do it. As I'm not that familiar with Javascript code, you'll need to interpret his code set. I looked at it and the "print()" is listed twice.

Hope this helps. .

This post has been edited by EAO trilegdog: 03 July 2007 - 01:46 AM

0

#9 User is offline   EAO_Lix Icon

  • Site Admin
  • Icon
  • Group: Outlaw
  • Posts: 4903
  • Joined: 10-February 03
  • Gender:Male
  • Location:Pennsylvania, USA
  • Time Zone:GMT-5
  • EAO Team Joined:High Stakes
  • Country:

Posted 08 July 2007 - 09:32 PM

yeah that is a tough, i know how to make it print , and like you said the diolge box will pop up, but i do remember when i was working in the AS400 if you change the direct out put, to more or less printout LPT1 it by passes the Microsoft print shop and direct outputs it. if i remember correctly, and why don't you want to have numerous printouts? because you do know if they hit the refresh button the code will execute again and again.....ever think of that?
Posted Image

------------------------------
Do or Do not, There is no Try
-Yoda

#10 User is offline   EAO trilegdog Icon

  • He has a Horse
  • Icon
  • Group: Bandit
  • Posts: 2411
  • Joined: 04-March 04
  • Gender:Male
  • Interests:Guitar, racing with friends, art, writing, my dog Buddy
  • Time Zone:GMT-5
  • EAO Team Joined:Hot Pursuit 2
  • Country:

Posted 08 July 2007 - 09:48 PM

View PostEAO_Lix, on Jul 8 2007, 05:32 PM, said:

yeah that is a tough, i know how to make it print , and like you said the diolge box will pop up, but i do remember when i was working in the AS400 if you change the direct out put, to more or less printout LPT1 it by passes the Microsoft print shop and direct outputs it. if i remember correctly, and why don't you want to have numerous printouts? because you do know if they hit the refresh button the code will execute again and again.....ever think of that?


AS400........man, that's been a long time ago! Dealt with IBM 3270 emulation for awhile in the Corps.

I think that a command for LPT1 is a good clue.

0

#11 User is offline   EAOImpreza Icon

  • EAO Admin
  • Icon
  • Group: Outlaw
  • Posts: 1385
  • Joined: 07-March 03
  • Gender:Male
  • Location:Estonia
  • Interests:Fast driving, cooking, soccer
  • Time Zone:GMT+2
  • EAO Team Joined:High Stakes
  • Country:

Posted 19 November 2013 - 12:24 PM

EAO Iceman where are you bro?
Posted Image

#12 User is offline   EAO Nathalie Icon

  • Master of the Forum
  • Icon
  • Group: Bandit
  • Posts: 2022
  • Joined: 01-September 13
  • Gender:Female
  • Interests:Healthy living. I'm a vegan who loves cycling, running, yoga, tennis, softball, dancing, socializing and enjoying as much of life as I can.
  • Time Zone:GMT-4
  • EAO Team Joined:Hot Pursuit 2
  • Country:

Posted 22 November 2013 - 10:03 PM

View PostEAOImpreza, on 19 November 2013 - 08:24 AM, said:

EAO Iceman where are you bro?

I sent Iceman an e-mail about a month ago but got no response. I also got in contact with Trilegdog and it sounded like he wasn't interested in coming back. :(
Posted Image
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic