General :: Automated Printing From PHP/MySQL Web Form Information?

Mar 22, 2011

I am learning PHP to take information submitted in a web-form and store it in a MySQL database, but I also need it to automatically print to the laser printer I have setup. So that a notice or printout is produced of the information.

My question is... what route do I go to automate printing from web-based information in a PHP/MySQL database?

Is it PERL ? or does PHP have a feature to do this?

View 2 Replies


ADVERTISEMENT

Hardware :: No Form Feed After Printing Short Form?

Aug 13, 2010

We are using several printers on our Linux RH network to print customer invoices and receipts. Receipts are short forms of just 21 or 22 lines. Two of the printers (an HP LJ1300 and a Dell 5200) eject the receipt paper automatically; the other two HP (a LJ 4200 and a LJ2420) do not eject. You have to press the green button on the printer. Is there a solution to that? They are all set up with the same PCL settings.

View 3 Replies View Related

General :: How To Stop Form Feeding After Printing

Aug 17, 2010

I have developed an application in Qt.I want to print my text(for e.g "hello") using Qprinter and stop the printer.The text printer but i dont want form feeding after printing.

View 1 Replies View Related

General :: Printing Individual Database Records In Form Format?

Oct 9, 2010

I have a database (Mysql) with records of our club members. It is quite small only about 300 records. Unfortunately there are gaps in the information and I would like to be able to print out (two records to an A4 sheet) the records in form format so that I can pass these to the members who will fill in any blanks in the record.

If it is not possible to do what I want from the database I can convert the records to a spreadsheet and do it from there.

View 1 Replies View Related

Ubuntu Servers :: Build Form On MySQL To Set Values

Sep 11, 2010

Is there a way to build a form so an admin can enter and add values to a database:
Example
Code:
use squid
insert into passwd values('testuser','test',1,'Test User','for testing purpose');
Is there a free software or an easy to configure script?

View 6 Replies View Related

Ubuntu Security :: Patch For Sudo That Allows Sudoers Information To Be Pulled From MySQL?

Apr 12, 2011

This may be a stupid (?) question, but does any one know of a patch for sudo that allows the sudoers information to be pulled from mySQL?
I run multiple servers with multiple people working on them and would like a one-stop update of permissions.
Yes, I could use rsync or the like, but I'm just wondering if this has been done, or could be done.

(Sorry if this is the wrong forum, I'm kinda new around here, posting wise and this seemed to fit. Feel free to move it if it's not)

View 3 Replies View Related

Ubuntu :: Webpage Editor To Create Form And Form Fields?

Jun 10, 2010

I've already tried Seamonkey to create a web page but can find no way to create a web form in which I want to create form fields. Before moving to Ubuntu I used Microsoft FrontPage to create web pages with form fields. This was easy to do. what is available to do the same in Ubuntu?

View 2 Replies View Related

General :: Can't Connect To Local MySQL Server Through Socket '/var/lib/mysql/mysql.sock' (2)

Jun 2, 2010

i am using liferay5.2(mysql included in the download pack) on fedora. while liferay is working fine but i cannot connect to mysql.i am getting the error

[
[root@localhost ~]# ln -s /var/lib/mysql/mysql.sock /tmp
[root@localhost ~]# /etc/init.d/mysqld start
Timeout error occurred trying to start MySQL Daemon.

[code]....

i didnt find the mysql.sock file in the location /var/lib/mysql/mysql.sock. i cannot find the portal-ext.properties file also to make intial settings.

View 9 Replies View Related

General :: Make NIS User Information Override Local User Information On Client Systems?

Jul 30, 2011

How would you make NIS user information override local user information on client systems? This is what I think is right? Add nis on the passwd registration file on the second line Is this correct?

View 1 Replies View Related

General :: Automated Installation With Perl?

May 21, 2011

I am making some scripts to automaticly install linux-software.gcc,kernel,binutils, etc.) I have made a command to extract the packages, but how can I check if I can re-use my already extracted source-archives?

View 3 Replies View Related

General :: Automated User Loggin?

Feb 6, 2010

how to automate user's loggin ?can we do something like the user get automatically looged in without displaying the welcome screen..?

View 6 Replies View Related

General :: Automated Telnet For Testing Servers

Aug 20, 2009

So I have a script that is supposed to check to see if a mail server is up and responsive. What I want to know is how I can send it the telnet escape character. I've tried:VAR=`(sleep 5;echo quit) | (telnet mailserver.timbuktu.net 25 2>&- )`

This works BUT there is a problem as the mail server may have been accidentally firewalled off. If this happens, my automated checking script will hang. What I want to do is send the escape character so that the '>' prompt comes up. They I should be able to send it "quit" even if it is hung on not getting a response from the server. VAR=`(sleep 5;echo -e '^]';sleep 1;echo quit) | (telnet arhqmg01.usarec.army.mil 25 2>&- )`

The above doesn't work. telnet interprets CTRL+] as '^]' but you can't type '^]' and get the same effect. So I guess what I need is to send the actual keystrokes. Like echo "somenumber" ; echo quit

View 4 Replies View Related

General :: Create An Automated Shell Script?

Sep 16, 2010

I am a complete newbie to linux. I am currently taking a course at Devry university called netw240. I am in my 2nd week of class and am required to turn in a paper at the end of the coures were I write an automated shell script. I am currently using Fedora 12 on a Vmware player and want to try to write a script that automates the process of Logging user login activity to detect unauthorized remote access attempts.I am looking for pointers on were to start, examples, ect.. anything that can get me started. Also, is this type of script to much for a beginner?

View 11 Replies View Related

General :: Disable Automated Updates (and Notifications) In Kde Debian

Apr 6, 2011

I am using Kde 4.5 in Debian and I get some notifications after start that I need to update something. How can I disable it (I often don't want to waste bandwidth for such things)? I am using Debian Wheezy and Kde 4.5

View 1 Replies View Related

General :: Fully Automated From Boot To Loading File?

Nov 18, 2009

While I have been using Linux for many years (Slackware), I have found myself facing a special need that I can't quite figure out.I work at a club where I use iMovie on my Mac to create a DVD that plays on all of our TV's displaying our upcoming lineup of bands.In order to save on DVD's, I would like to create a very small form factor PC running Linux with the following requirements: the computer must boot into Linux and log itself in, the computer will boot up with a thumb drive attached containing a movie file of the most Linux compatible video format. After booting up and logging itself in, the video on the thumb drive must start playing automatically in full screen mode and in a continuos loop.So the whole thing needs to be automated from boot to playing movie; only the power button should ever need to be touched.

View 3 Replies View Related

General :: Automated Remote Installs Of Ubuntu Using Kickstart?

Apr 18, 2010

I want an automated install (via CD or USB) of Ubuntu 10.04 ...on 100 remote machines located all over the country, using a Kickstart configuration file accessible from my web server.

How do I create the boot CD (or USB)?

How do I specifically add the boot parameters to that boot CD (or USB) to tell it the URL to use for it's automated Kickstart install?

View 4 Replies View Related

General :: Ubuntu Server 10.4.1 Automated Full Backup?

Sep 27, 2010

This is my first post and I am a linux newbie.. took on the challenge of setting up an ubuntu server with proxy and firewall with vpn access as well.. sounds good? While messing with things, I installed ebox server, know called Zentyal and perform backups, however, when performing a full restore, following instructions and all it does not restore correctly. I ran many attempts with verious configurations and still allways got some errors, such as eboc-ebackup failing to start, etc. most noteably wa sthe ldap error, which i figured out how to fix by restarting once logged into and then rebooting.

I say the Clonezilla options for a full backup, and it sounds great, but does require me to perform a full abckup, while bring the server down to perform. What I wanted to know, was what do you recommend for performing a full backup (possibly to NTFS partition or USB key with FAT32) with automation or even if i had to perform the trigger, just without needing to bring the server down, so when i go into production i dont have any issues backing up anytime?

View 2 Replies View Related

General :: Script For Automated Torrent Downloads (from Announce Urls In IRC)

Oct 12, 2010

Some time ago I read a discussion in /r/linux and someone mentioned a script that checks new messages in IRC channel (in irssi client) and if they contain announce urls for torrents, they are passed to a torrent client (rtorrent) for downloading. Sadly, I didn't bookmark it, nor I could find it now. Maybe someone has a similar script?

View 1 Replies View Related

General :: Automated Way Of Installing The Latest Version Of Flash For Firefox ?

Jun 13, 2011

I'm using Ubuntu 11.04. I'm searching for an automated way of installing the latest version of Flash for Firefox. We are using our machine as a testing server and it would be nice to be assured we always have the latest version of Flash instead of having to manually update it whenever Adobe comes out with an incremental update.

View 6 Replies View Related

General :: Automated Save/redirect Files From Client Into PXE Server?

May 26, 2011

I just finished set up a PXE server, and was wondering is it possible to automated save/redirect files from the client into server? Basically, test will be running on client, and wanted to save the result(text file) into server after done testing.

View 1 Replies View Related

General :: Create A New Mysql User And A Mysql Database At The Shell Prompt?

Aug 7, 2010

How do I create a new mysql user and a mysql database at the shell prompt?

View 1 Replies View Related

General :: Mysql Not Starting After Changing Mysql Admin Password In Fedora?

Feb 19, 2010

Mysql starting problem after changing mysqladmin password.I tried all the solutions available on forums, but not solve the problem.At last I restored the mysql db backup, this make mysql service start, but till other databases not showing all tables.

View 1 Replies View Related

General :: Access Remote Mysql Db With Mysql-administrator Command?

May 13, 2011

I have install mysql on my fedora12. My different mysql server is located in us. I want to check health status and hits per seconds everything. Is it possible with mysql-administrator command.

now a these days i am connect through ssh and excuting below command

#mytop mysql -u root -p <passwd>

In my mysql db i have added the userip & passwd (allowed the privileages for that ip)

If i use mysql-administrator i am getting below error

MySQL Error Nr. 2003
Can't connect to MySQL server on '66.98.152.64' (111)

View 6 Replies View Related

General :: Interact With The Mysql To Reset The Root Mysql Pass?

Jun 14, 2011

I have tried many different ways to interact with the mysql to reset the root mysql pass. This is what I got to right now

Code:
#!/bin/sh
newpass=$1
service mysqld stop
mysqld_safe --skip-grant-tables --skip-networking &
echo "use mysql;" >> /tmp/mysql_pass_reset.txt
echo "update user set password=PASSWORD("$newpass") where User="root";" >> /tmp/mysql_pass_reset.txt

[Code]...

View 6 Replies View Related

Fedora :: Write A Program Which Would Get Information From A Webpage And Display The Information On Desktop Sort Of Like A Widget?

Sep 3, 2009

I'm trying to write a program which would get information from a webpage and display the information on my desktop sort of like a widget. I kind of remember there being something like this already made, but for the life of me I can't remember what it's calledDoes anyone know?

View 1 Replies View Related

OpenSUSE Network :: ERROR 2002 (HY000): Can't Connect To Local MySQL Server Through Socket '/var/mysql/mysql.sock

Jun 7, 2011

I think this goes here, but I'm not sure. I decided that XAMPP had been troublesome enough. MySQL never worked. So I decided to instal the LAMP stack offered by YaST. I went about installing it thinking that it would all work. But it seems that I was wrong. So I try to start mysql, and here's what I get:

Code:
the-matrix:~ # mysql start
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2) or
Code:
the-matrix:~ # rcmysql start
Starting service MySQL warning: /var/mysql/mysql.sock didn't appear within 30 seconds
chmod: cannot access `/var/run/mysql/mysqld.pid': No such file or directory

[Code]...

View 6 Replies View Related

General :: Getting A New Server Form Home?

Jan 20, 2010

So a family member was very nice and got me a killer server for my house. Not sure what I will do with it just yet. I will post spects shortly. Its Intel raided 2 750G drive 2G CPU and I believe 2 or 4 G memory. Rack mount with a KVM on it.

I have narrowed it down to 3 OS choices. Ubuntu : I run this on my LT and find it very nice for that. Some nice Media server Sw out there for it. I do some side work on RedHat and for my current employer so I was thinking CentOS or Fedora so I have a system running a similar OS on it.

At home this may be a www or media server for me long term. Or I may just use it as a test system initially to work on these Linux versions. I know this is all subjective and depends on what I plan to do with the server in the long run.

But out of the Fedora and CentOS release which is better knowing I am doing work in Red Hat for my current employer?

View 11 Replies View Related

General :: Wget For A Login Form ?

Oct 1, 2010

I m trying to access a site through a perl script for a project of mine, and i use a system call fora wget.

The login form is this

Code:

I mean should i add in the --post-data all the hidden fields? should i try using perl's md5 function for the last two fields? anyone has any idea on what are the elements i should be sending along --post-data?

Is there a way to --load-cookies from mozilla or something similar instead of creating new cookies with wget?

View 1 Replies View Related

General :: Make A Pop Up Window Form?

Jan 13, 2010

I v been trying to make a pop up window or form for my user once they get to my index page then a form comes in the middle of the screen asking questions . also i want a pop up form to pop up when some one is trying to exit my page to pop up

View 5 Replies View Related

Hardware :: Continuos Printing - Stop Ejecting The Paper After Printing Over?

Jul 28, 2010

We developed qt based application in linux. I wish to stop ejecting the paper after printing over.How to do it.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved