55 Discussion / Question Topics

Remove Filter
Member Avatar for
Member Avatar for existinglady

hello, can someone help me, when I put the codes from my book and edited them to use filestream, I encounter an error #include <iostream> #include <fstream> #include <string> using namespace std; struct nodeType { string info; nodeType *link; }; int main() { nodeType *head = NULL; nodeType *newNode; nodeType …

Member Avatar for Roy_264
0
6K
Member Avatar for Antika2165

Write a shell script to create a directory called “page1” and ask the user if he/she wants to copy a file to TESTING directory. You should find out that the file has read, write and execute permission. If the file has write permission then copy the file to the directory; …

Member Avatar for Reverend Jim
-1
404
Member Avatar for JohnMcPherson

Hello, my name is John McPherson. I work as a contractor for the DOL, and I am trying convert some code I maintain in an application to send output files to a printer. Right now, the code( a bash script) just slowly prints the output file on the screen, and …

Member Avatar for JohnMcPherson
0
2K
Member Avatar for Begginnerdev

Hello Daniweb, and thank you for taking the time to read this post. I have a question of efficiency. I am wondering, what is the most efficient way to print from a listview. The listview's values are loaded from a database, and I would like to print from that listview. …

Member Avatar for Ivan_14
0
6K
Member Avatar for Stefan_2

I need a way to print(and later on compare - but for now just print) characters 2 by 2 as in: I have a string of 1F190307091810 and I have to print out: 1F 19 03 04 09 18 10. I need this for Baudot code(I have segments of code …

Member Avatar for Stefan_2
0
349
Member Avatar for Yogesh_5

i have many fields in page like sno,regno,date,name,school name etc.like a registrationform. i have two button save and print. i want to print the current saved record when i press print button.my registration no is primarykey and auto increment.

Member Avatar for sushmaja.arumalla.9
0
246
Member Avatar for willie.lemaitre.9

Good day all! And thank you for a great Site :). I have developed an applcation that also now has to print barcode stickers, using VB6. Is there anyone here that has done that before please?

0
186
Member Avatar for caven.chunyen_1

Hi daniweb, I'm finding a way to create a 'plug and play' printing apps that can send the document softcopy to a bluetooth tethered device on the fly. I'm seeking advice on which programming language should i get into with to develop the apps. For advancement, I would like to …

0
164
Member Avatar for mavtcr

I want to print adress from a database containing lot of records. I have done it through report. But the problem is, All the address is printed in a single column. I want it to print in four or five columns in the paper so that I can save a …

Member Avatar for ss125
0
844
Member Avatar for ritzz
Member Avatar for vegaseat
0
188
Member Avatar for siaswar

I want to develop a simple application which runs on single computer (just runs in one mechine) and did not need network. Program has to store some data in database and show them for printing. I have no experience with real-word program so I confused here: If the program is …

Member Avatar for Ancient Dragon
0
267
Member Avatar for earlxph8

Hello, is there any simple or basic example on how to code basic php forms and print them out from the webpage? thanks.

Member Avatar for earlxph8
0
285
Member Avatar for mikeybware

I have the following code which prints my datagrid nicely. The problem is that it only prints the first page and cuts off everything thereafter. I know I need to implement the e.HasMorePages = True in some manner but I am unable to get that working. Here is my code: …

Member Avatar for robtrue
0
316
Member Avatar for bandurao

Hello friends, This is my first port so please bear with me. I am developing a simple software in Vb.net 2010. In this software you can add, edit, delete, print records. I have done everything except print option as I dont have any idea on how to do this. I …

Member Avatar for dinhunzvi
0
291
Member Avatar for bpl1960

I'm having a hell of a time trying to print from an RTF box. I can do it, but for my test file (Lewis Carroll's "Fury said to a mouse..." with each word on a different line), I keep getting the first two pages printed on the same page, completely …

0
183
Member Avatar for henry.sj.shin

Hello All, I'm trying to write a function that outputs the reverse of the input. I know that you can use the built-in list.reverse() or S[::-1] methods, but I want to make it using the 'for' loop. My code initially is: def reverse(S) for x in S: print(x, end = …

Member Avatar for TrustyTony
0
390
Member Avatar for amitash

Hi, I have created a label template in Word and written a macro to print all records (see code below printAllRecords() and attachments) from an Excel datasource. The problem is when I press F2 (defined function key to print all records in my macro), it prints the 1st page once …

Member Avatar for AndreRet
0
839
Member Avatar for kentuckyjoe

I need help on a printing problem in MS Reporting Services. It has to do with page advancement. I have a code snippet below that I think should work. But, it doesn't. I think this should be a three page report with a person's name at the top of each …

Member Avatar for CurtisUN
0
2K
Member Avatar for ctrl-alt-del

Good afternoon everyone, Currently I am experiencing a problem with a flowdocument that I am trying to print. All the code is doing exactly what it is suppoed to do, but when I press the print button in my program, the page that comes out of the printer almost seems …

Member Avatar for ctrl-alt-del
0
354
Member Avatar for iraj.jelo

I'm trying to print the contents of a QTableView to the printer . i implement bottom script and it run successfully without any error. but all data are Unusual in printPreview. this is [pic](http://img4up.com/up2/75917679167425743216.png) from my problem -[FOUNTAIN](http://www.qtcentre.org/threads/3796-QTableView-printing?highlight=Qprinter) def printTable(self,printer,painter,area): model = self.model myTableView = self.view printer = painter rows …

0
219
Member Avatar for game4tress

Hi, I'm trying to print a document in landscape, but i'm only being able to print it in portrait. I've searched for the problem but i haven't found a solution to the problem. Can you, please help? Here's the source code: public void btnImprimir_Click() { try { PrintDialog pDialog = …

0
169
Member Avatar for STP_Captain_Slo

Hi I am wrinting a program which takes customers details and their order details, each order line is added to a DGV and eventually saved to a MDB, a Crystal Report Viewer than queries the information back and displays it in the format I setup in the report i created, …

0
168
Member Avatar for flaviu_xdv

I recently made a c# printer management tool that uses a WCF service which contains [URL="http://msdn.microsoft.com/en-us/library/windows/desktop/aa394363%28v=vs.85%29.aspx"]WMI Win32_Printer[/URL] methods like [URL="http://msdn.microsoft.com/en-us/library/windows/desktop/aa384769%28v=vs.85%29.aspx"]AddPrinterConnection [/URL]and [URL="http://msdn.microsoft.com/en-us/library/windows/desktop/aa393291%28v=vs.85%29.aspx"]SetDefaultPrinter[/URL]. Everything works fine if both the client and the WCF service run on the same machine. But if i try to move the WCF service on another machine, …

Member Avatar for flaviu_xdv
0
1K
Member Avatar for Z33shan

hello :) i'm using MFC SDI, & i'm less familiar to it. i need to know, 1: i have found a way of printing a string as [CODE]pDC->DrawText( " Task still pending!!! ", &rect , DT_PATH_ELLIPSIS );[/CODE] but i want to know, how can i print a 2D-Array in MFC …

Member Avatar for Ancient Dragon
0
388
Member Avatar for esdel

GoZ acts as a bridge between artists's creations made on Sculptris and the progs (such as Zdraw and 123D) that drive the 3D printer that makes them But despite dozens of websites boasting success, not one says how to ger GoZ Many thanks

Member Avatar for caperjack
0
175
Member Avatar for Galbatorix

hi guys, i have a database which has employee records for a hrms system. i would like to be able to print payslips of all employees without having to open every record and use the javascript window.print() function. Please help

Member Avatar for diafol
0
156
Member Avatar for inuasha

How would I find the amount of characters in a string and then use that to print a certain amount of some character that you choose. For example: [CODE=Python] a = 'string' # this holds 6 characters print '*' * # amount of characters in string [/CODE]

Member Avatar for inuasha
0
241
Member Avatar for ppotter3

Hello! I am currently looking for some help or ideas in a specific area of Python programming. The project I am having problems with pertains to python print drivers, and printing in a Linux OS. I had originally wanted to find a way (if possible) to write a python print …

Member Avatar for ppotter3
0
328
Member Avatar for toneranger

Hi everyone, When I try the code below with data in a txt file, I have no problems and the data prints properly and neatly on the screen. (Note, one slight modification when using a txt file, instead of getline (ist, ignored, ','), I do getline (ist, ignored, '/t') to …

Member Avatar for MonsieurPointer
0
227
Member Avatar for prvnkmr194

Hello Actually I have to print Report from php and iam using this code [CODE] <?php $handle = printer_open("Microsoft XPS Document Writer"); $handle = printer_open(); ?> [/CODE] bt iam getting following error Fatal error: Call to undefined function printer_open() in C:\xampp\htdocs\praveen\printer.php on line 2 what i have to do next …

Member Avatar for phoenix_2000
0
2K

The End.