AGG Software Forums
February 21, 2019, 01:13:51 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome on our forum!
 
   Home   Help Search Login Register  

Pages: [1]
  Print  
Author Topic: Useful additions to the 'Pretty Printout"  (Read 23033 times)
Russ
Jr. Member
**

Karma: +0/-0
Posts: 5


View Profile
« on: November 30, 2011, 11:00:00 AM »

The Colour CNC Syntax printout of the G-Code programming code looks great!

However, the lack of page numbering and date printed and filename in a header or footer of the printer page of your software's printout is forcing us to go to another program like Microsoft Word to get the required info onto the printed page for our documentation.

Would you add those print layout features to your software for colour printing or add the ability to save the colour formatted file as a .docx Word 2007 file format?
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
*****

Karma: +0/-0
Posts: 762



View Profile WWW
« Reply #1 on: November 30, 2011, 11:00:00 AM »

Our software allows to print page numbers, file name and date. You just need to configure it. Please, look at the attached image.


* s1.jpg (24.89 KB, 428x397 - viewed 9 times.)
Logged
Russ
Jr. Member
**

Karma: +0/-0
Posts: 5


View Profile
« Reply #2 on: July 13, 2010, 09:44:58 PM »

I like it.

Is there any way we can add an Identifier to printout the program number in the header. Unfortunately, we use another naming convention for our filenames that doesn't include the program number. That is usually the first word in the file for a Fanuc controller after the starting symbol '%'. like O7777 or :7777

Meanwhile, I temporarily add the number before printing and then delete it.

But it would be nicer with an automatic Identifier. (Maybe using regular expressions to find a pattern? Like in Microsoft Word they have wildcards like [Oo:][0-9]{1,} to find such a pattern)
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
*****

Karma: +0/-0
Posts: 762



View Profile WWW
« Reply #3 on: July 14, 2010, 08:08:51 AM »

Where do you want to define this pattern? Within a program body?
Logged
Russ
Jr. Member
**

Karma: +0/-0
Posts: 5


View Profile
« Reply #4 on: July 14, 2010, 04:04:50 PM »

I currently thinking about using your so called identifiers used in the header or footer area of the printed page. (At least that's what the error message calls them, when I try to use one that the program doesn't know about.)
For example, the [FILENAME] identifier now returns the current filename.

Other new possible identifiers might be:
[WORD(7)] to return the seventh 'word' in file, etc.

[\[Oo:\]\[0-9\]{1,}] a Microsoft Word-like wildcard pattern in a identifier, in this case, using a backslash to be able to use square brackets in a pattern. This pattern would supposedly find and return the first word that starts with one of the three characters, capital o or small o or semicolon and is followed by a sequence of one or more numbers.

Also, possibly use identifiers as tags like they are being used in this forum message to format header and footer text. For example  [\color=red][FILENAME][\/color] to print the filename in red in the header.(Without the backslashes, of course.)
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
*****

Karma: +0/-0
Posts: 762



View Profile WWW
« Reply #5 on: July 15, 2010, 03:13:00 PM »

I've included your request to our to-do list.
Logged
Russ
Jr. Member
**

Karma: +0/-0
Posts: 5


View Profile
« Reply #6 on: January 19, 2011, 04:39:50 PM »

Thank You Mr. Grasin for the update that includes regex printout capabililities.
See attached images on how I use that feature to enhance the info printed in the headers or footers of each page.
The Program number regex searches for a pattern of digits preceded by small O, or large O, or a colon.
The Operation number regex searches for a pattern that is a "word" that starts with 'OP' and is followed by digits.


* Editor Properties.PNG (24.86 KB, 960x600 - viewed 8 times.)

* Page Setup.PNG (18.29 KB, 960x600 - viewed 6 times.)
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
*****

Karma: +0/-0
Posts: 762



View Profile WWW
« Reply #7 on: January 19, 2011, 05:17:04 PM »

Thank you for your feedback. Does it work properly in your case?
Logged
Russ
Jr. Member
**

Karma: +0/-0
Posts: 5


View Profile
« Reply #8 on: January 19, 2011, 06:01:05 PM »

Yes, it works very well in my case, as the information, searched for, is either automatically part of the post process or is added routinely by the programmers later in the leading comments of the programs. Each CNC machined part at our location usually requires multiple setups or fixtures that are given a different operation number and each program a unique 1 to 5 digit program number.

The regex (regular expressions search patterns) can then extract the unique info for each program as each page is printed for a machine operator part programs binder compilation.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines